Skip to content

Replace mdformat-frontmatter with mdformat-myst - #214

Merged
timkpaine merged 2 commits into
mainfrom
mdformat-myst
Nov 5, 2026
Merged

timkpaine merged 2 commits into
mainfrom
mdformat-myst

Conversation

@timkpaine

Copy link
Copy Markdown
Member

Core mdformat has no math support, so fix-docs escapes LaTeX inside $$ blocks (\sum_{i} becomes \\sum\_{i}), which breaks MathJax rendering. mdformat-myst adds dollarmath support and handles front matter through mdformat-front-matters, so mdformat-frontmatter is no longer needed.

Running both plugin sets over this repo's markdown produced identical output, so existing docs shouldn't reformat. A generated python project installs and passes mdformat --check.

Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
@timkpaine
timkpaine merged commit 53e3805 into main Nov 5, 2026
21 checks passed
@timkpaine
timkpaine deleted the mdformat-myst branch November 5, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant