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.
Then in your project's directory with a dprint.json file, run:
dprint add markdownSee https://dprint.dev/plugins/markdown/ for more information.