Skip to content

Commit

Permalink
Merge branch 'fix.myst.dollarmath' into 'master.dev'
Browse files Browse the repository at this point in the history
[fix.myst.dollarmath] Fix dollarmath setting in MyST RTD, which is now disabled by default

See merge request piclas/piclas!921
  • Loading branch information
scopplestone committed Mar 3, 2024
2 parents 654daef + 37b63e2 commit 8b57c0b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/documentation/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,14 @@
# -- Table and Figure labelling ----------------------------------------------
# Activate using: {numref}`tab:some-name` -> Table 1
numfig = True

# -- MyST-Parser Syntax Extensions -------------------------------------------
# https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#math-shortcuts
#
# "dollarmath" for parsing of dollar $ and $$ encapsulated math.
# "amsmath" for direct parsing of amsmath LaTeX environments.
#
myst_enable_extensions = [
"amsmath",
"dollarmath",
]

0 comments on commit 8b57c0b

Please sign in to comment.