Markdown
Markdown code formatter.
Install and Setup
In your project's directory with a dprint.json file, run:
dprint add markdown
This will update your config file to have an entry for the plugin. Then optionally specify a "markdown" property to add configuration:
{
"markdown": {
// markdown config goes here
},
"plugins": [
"npm:@dprint/markdown@0.29.0"
]
}
Code block formatters
Code blocks are formatted based on the other provided plugins. For example, if you wish to format JSON, TypeScript, and JavaScript code blocks, then ensure those plugins are also specified in the list of plugins to use.
{
"plugins": [
"npm:@dprint/typescript@0.100.0",
"npm:@dprint/json@0.26.0",
"npm:@dprint/markdown@0.29.0"
]
}
Ignore Comments
Use an ignore comment:
<!-- dprint-ignore -->
Some text
Or a range ignore:
<!-- dprint-ignore-start -->
Some text
* other text
* testing
<!-- dprint-ignore-end -->
All plugins
Official Plugins
Community Plugins
Wrapper Plugins
Process
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Wasm
Process
Wasm
Wasm
Wasm
Wasm
Wasm