markdown2html-converter icon indicating copy to clipboard operation
markdown2html-converter copied to clipboard

backtick is interpreted as code instead of asciimath

Open denizsincar29 opened this issue 2 years ago • 3 comments

In mathjax when you write:

`sqrt3+pi`

it would convert to this text as asciimath. but rather i don't know why, but it converts into

<code>sqrt3+pi</code>

please fix this bug. I want to interpret asciimath as it is.

denizsincar29 avatar Jun 06 '23 06:06 denizsincar29

It's not a bug.

See https://www.markdownguide.org/basic-syntax/.

And I think the tex-mml-chtml configuration file doesn't support asciimath. I'm not sure but the document says it loads the input/tex and input/mml components. input/asciimath is not included.

magiclen avatar Jun 06 '23 10:06 magiclen

asciimath is built in to mathjax. and it must be configured for asciimath

denizsincar29 avatar Jun 09 '23 09:06 denizsincar29

This project uses tex-mml-chtml.

magiclen avatar Jun 09 '23 10:06 magiclen