Escaping dollar sign in ipython notebook

前端 未结 7 1700
借酒劲吻你
借酒劲吻你 2020-12-15 15:21

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

7条回答
  •  独厮守ぢ
    2020-12-15 15:46

    I'm aware that this topic is old, but it's still somehow the first google result and its answers are incomplete.

    You can also surround the $ with `backticks`, the same way that you would display code in Jupyter.

    So $ becomes `$`, and should display without error

提交回复
热议问题