Skip to content

Syntax for preventing Latex formatting? #1203

Answered by ChristianMurphy
hahnbeelee asked this question in Q&A
Discussion options

You must be logged in to vote

Hiya @hahnbeelee! 👋
While not specified in the readme, math-like blocks can be escaped with \ to prevent them from turning into latex, similar to most other commonmark and gfm constructs which also support \.
An example of this would be:

\$50 some text \$50

AST generated: https://astexplorer.net/#/gist/86419620b3a99a97a630346e7a8e1958/7d1d9cb4c5dc9de57b2c564c8963c958f7c366a9

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@hahnbeelee
Comment options

@wooorm
Comment options

Answer selected by hahnbeelee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants