Adds support for the formatting Markdown documents using tidy-markdown. No dependencies are neccessary, the extension uses the NPM package internally.
Set tidy markdown to default formatter for markdown in your settings.json
:
"[markdown]": {
"editor.defaultFormatter": "tehnix.vscode-tidymarkdown"
},
"editor.formatOnSave": true, // probably want this to
Alternatively, use the Format Document With...
command.
Explicitly enable or disable the Tidy Markdown formatter (in case of clash with others),
"tidyMarkdown.disableFormatter": false,
Disable ensureFirstHeaderIsH1
tidy-markdown option,
"tidyMarkdown.ensureFirstHeaderIsH1": false,
ensureFirstHeaderIsH1