This is an unofficial extension to use mdformat
in VS Code. mdformat is an opinionated Markdown formatter that can be used to enforce a
consistent style in Markdown files.
Usage
In order to use this extension, you must have Python installed, as well as mdformat. You
can also install any plugins, as they are auto-detected by mdformat. This is how the
extension will look for the python binary and the mdformat library:
User-defined "mdformat.pythonPath" setting.
Python interpreter selected via the ms-python.python VS Code extension.
Common global executables found in the system PATH.
The extension will be registered as a formatter, and you can set it as your default
Markdown formatter with:
This extension does not provide a full-fledged LSP Server as other formatters for other
languages do. A simpler approach invoking python -m mdformat for each formatting was
taken. A potential implementation with such LSP Server is not ruled out for the future.