next-theme / hexo-filter-mathjax

💯 Server side MathJax renderer plugin for Hexo.
https://www.npmjs.com/package/hexo-filter-mathjax
MIT License
109 stars 6 forks source link

Do not start a new line when adding formula blocks #39

Closed chnynf closed 3 years ago

chnynf commented 3 years ago

Is it possible to let the formula block stay in the existing line?

For example, when I have this in markdown:

This is a formula $$a+b=c$$.

It's still rendered as:

This is a formula
a+b=c

Am I doing something wrong here?

chnynf commented 3 years ago

Some examples: https://chnynf.github.io/data-science-notes/#Random-Variables --- Every formula here started a new line.

stevenjoezhang commented 3 years ago

Use single dollars:

This is a formula $a+b=c$.