dprint-plugin-markdown

September 5, 2026 ยท View on GitHub

npm version CI

Markdown formatting plugin for dprint.

This uses its own markdown parser, written for formatting rather than rendering: every node knows the exact text it was parsed from and nothing in the file is discarded along the way.

Install

Install and setup dprint.

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

dprint add markdown

See https://dprint.dev/plugins/markdown/ for more information.