You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-\*Note: the markup (HTML) rendered for abbreviations is not useful for rendering. If important, I'm open to contributions because the implementation could be challenging
- Preserves attribute list syntax when using `--wrap` mode
29
+
-[PyMdown Extensions "Arithmatex" (Math/LaTeX Support)](https://facelessuser.github.io/pymdown-extensions/extensions/arithmatex) ([Material for MkDocs Math](https://squidfunk.github.io/mkdocs-material/reference/math))
30
+
- This plugin combines three math rendering plugins from mdit-py-plugins:
31
+
1. **dollarmath**: Handles `$...$` (inline) and `$$...$$` (block) with smart dollar mode that prevents false positives (e.g., `$3.00` is not treated as math)
-\*Note: the markup (HTML) renders the plain text without implementing the snippet logic. I'm open to contributions if anyone needs full support for snippets
29
37
@@ -123,6 +131,8 @@ md.render(text)
123
131
124
132
- `--ignore-missing-references` if set, do not escape link references when no definition is found. This is required when references are dynamic, such as with python mkdocstrings
125
133
134
+
- `--no-mkdocs-math` if set, deactivate math/LaTeX rendering (Arithmatex). By default, math is enabled. This can be useful if you want to format markdown without processing math syntax.
135
+
126
136
You can also use the toml configuration (https://mdformat.readthedocs.io/en/stable/users/configuration_file.html):
127
137
128
138
```toml
@@ -131,6 +141,7 @@ You can also use the toml configuration (https://mdformat.readthedocs.io/en/stab
help="If set, do not escape link references when no definition is found. This is required when references are dynamic, such as with python mkdocstrings",
82
93
)
94
+
group.add_argument(
95
+
"--no-mkdocs-math",
96
+
action="store_const",
97
+
const=True,
98
+
help="If set, disable math/LaTeX rendering (Arithmatex). By default, math is enabled.",
0 commit comments