Skip to content

0.20.0

Latest

Choose a tag to compare

@github-actions github-actions released this 15 Oct 20:21

Changes

  • feat: support formatting Dockerfile code blocks (#142)
  • feat: support formatting XML code blocks (#143)
  • fix: format JSONC code blocks as such, not JSON (#144)
  • style: spelling and grammar fixes (#141)

Install

Install and setup dprint.

Then in your project's dprint configuration file:

  1. Specify the plugin url in the "plugins" array or run dprint config add markdown.
  2. Add a "markdown" configuration property if desired.
    {
      // ...etc...
      "markdown": {
        // markdown config goes here
      },
      "plugins": [
        "https://plugins.dprint.dev/markdown-0.20.0.wasm"
      ]
    }

JS Formatting API