Escaping dollar sign in ipython notebook

2020-02-26 14:09发布

I have a markdown cell in iPython that contains four dollar signs. iPython interprets anything between dollar signs as a MathJax expression, which is not what I want. How do I escape the dollar signs? Escaping them with a backslash prevents MathJax from kicking in, but the backslash shows in the compiled Markdown.

ANy ideas on how to get just the dollar sign?

Thanks

7条回答
太酷不给撩
2楼-- · 2020-02-26 15:04

If you use <span>$</span>, MathJax won't process it as a delimiter. You should be able to enter that in Markdown. For example, I've used that here: $ This is not math $.

查看更多
登录 后发表回答