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
Copy file name to clipboardExpand all lines: docs/settings.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,31 @@ output_matplotlib_strings
60
60
- `"remove-warn"` (default) or `"remove-error"`: remove all matplotlib strings in outputs, and log a warning or error
61
61
- `"warn"` or "error": log a warning or error if matplotlib strings in outputs
62
62
63
+
## Markdown Parsing Settings
64
+
65
+
Adding an object of `parser` to the settings will allow you to control various parser behaviors.
66
+
67
+
```{code-block} yaml
68
+
:filename: myst.yml
69
+
project:
70
+
settings:
71
+
parser:
72
+
dollarmath: false
73
+
```
74
+
75
+
:::{warning}
76
+
Markdown parsing settings currently only work on the `myst.yml` project settings, not the page frontmatter.
77
+
:::
78
+
79
+
(setting:parser:dollarmath)=
80
+
dollarmath
81
+
: Enable or disable inline dollar math parsing (e.g., `$x^2$` syntax).
82
+
83
+
- `true` (default): Enable inline dollar math parsing
84
+
- `false`: Disable inline dollar math parsing
85
+
86
+
When disabled, dollar signs (`$`) will be treated as regular text characters and not parsed as math delimiters. This can be useful if you have frequent uses of dollar signs, such as currency, in your content that are not meant to be math.
87
+
63
88
## LaTeX Rendering Settings
64
89
65
90
Adding an object of `myst_to_tex` to the settings will allow you to control various default parts of how the LaTeX renderer behaves.
0 commit comments