// plugins

Pretty YAML Plugin

Plugin that formats YAML files via Pretty YAML.

Install and Setup

In your project's directory with a dprint.json file, run:

dprint add g-plane/pretty_yaml

This will update your config file to have an entry for the plugin. Then optionally specify a "yaml" property to add configuration:

{
  "yaml": { // not "pretty_yaml"
    // Pretty YAML config goes here
  },
  "plugins": [
    "npm:dprint-plugin-yaml@x.x.x"
  ]
}

Configuration

See Configuration or read full documentation site with code examples.

Playground

See Playground