Skip to content

Commit a30e069

Browse files
committed
Add matrix environments
1 parent 8099636 commit a30e069

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

markdown_it/extensions/amsmath/__init__.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""An extension to capture ams math environments."""
1+
"""An extension to capture amsmath latex environments."""
22
import re
33

44
from markdown_it import MarkdownIt
@@ -20,6 +20,14 @@
2020
"alignat",
2121
# stretches the space betweenthe equation columns to the maximum possible width
2222
"flalign",
23+
# 4.1 The pmatrix, bmatrix, Bmatrix, vmatrix and Vmatrix have (respectively)
24+
# (),[],{},||,and ‖‖ delimiters built in.
25+
"matrix",
26+
"pmatrix",
27+
"bmatrix",
28+
"Bmatrix",
29+
"vmatrix",
30+
"Vmatrix",
2331
]
2432
# other "non-top-level" environments:
2533

0 commit comments

Comments
 (0)