逃脱的美元符号ipython笔记本 [英] Escaping dollar sign in ipython notebook

查看:196
本文介绍了逃脱的美元符号ipython笔记本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在iPython中有一个包含4个美元符号的降价单元格。 iPython将美元符号之间的任何内容解释为MathJax表达式,这不是我想要的。我如何逃脱美元符号?使用反斜杠转义它们会阻止MathJax进入,但反斜杠显示在编译的Markdown中。

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?

谢谢

推荐答案

在美元符号前面添加反斜杠:\ $

Add a backward slash in front of the dollar sign: \$

这篇关于逃脱的美元符号ipython笔记本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆