Mdformat plugin to format JS, CSS, HTML and XML code blocks
mdformat-web is an mdformat plugin that makes mdformat format JavaScript and CSS code blocks with JS Beautifier, and HTML and XML with Beautiful Soup.
pip install mdformat-web
mdformat YOUR_MARKDOWN_FILE.md