TOML Code Formatter

Formats TOML files.

Install and Setup

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

dprint config add toml

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

{
  "toml": {
    // toml config goes here
  },
  "plugins": [
    "https://plugins.dprint.dev/toml-x.x.x.wasm"
  ]
}

Configuration

See Configuration

Playground

See Playground