TOML Code Formatter

Formats TOML files.

Install and Setup

In dprint configuration file:

  1. Specify the plugin url in the "plugins" array.
  2. Ensure .toml file extensions are matched in an "includes" pattern.
  3. Add a "toml" configuration property if desired.
{
  // omitted...
  "toml": {
    // toml config goes here
  },
  "includes": [
    "**/*.{toml}"
  ],
  "plugins": [
    "https://plugins.dprint.dev/toml-x.x.x.wasm"
  ]
}

Configuration

See Configuration

Playground

See Playground