Skip to content

Commit e4fcd8c

Browse files
committed
Add mdformat-myst plugin for math support
1 parent 83bf915 commit e4fcd8c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
mdformat
1717
python3Packages.mdformat-footnote
1818
python3Packages.mdformat-gfm
19+
python3Packages.mdformat-myst # for latex math
1920
typos
2021
];
2122
in

treefmt.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
command = "mdformat"
44
excludes = []
55
includes = ["*.md"]
6-
options = ["--extensions", "gfm", "--extensions", "footnote"]
6+
options = ["--extensions", "gfm", "--extensions", "footnote", "--extensions", "myst"]
77

88
[formatter.typos]
99
command = "typos"

0 commit comments

Comments
 (0)