繁体   English   中英

Jupyter / IPython Notebook 文本编辑为 Markdown

[英]Jupyter / IPython Notebook text editing as markdown

大家好,我正在 Jupyter 中创建一个新的 Python 3 文档,当我尝试将测试放在降价的中心时,我输入了: <h1><center> Whatever Report </center></h1> <center> Based on the data from *January 1, 2018* </center>

正如您所看到的,我尝试将日期设为斜体,但是当我运行命令时,结果打印出Based on the data from *January 1, 2018* 为什么文字没有斜体?

非常感谢!

不是任何类型的降价专家,但看起来星号在 HTML 标签中没有被解释为斜体。 第一个有效,第二个无效。

<center>Based on the data from <i>January 1, 2018</i></center>
<center>Based on the data from *January 1, 2018*<center>

不确定为 SO 格式化该输出。 哈。

您需要将 markdown 放在 markdown 单元格中,而不是嵌入在 html 中。 http://www.firstpythonnotebook.org/markdown/

也许已经很晚了,但是您可以尝试使用$\\unicode{x212B}$并且它将呈现为正确的格式。 原始解决方案可以在https://github.com/mathjax/MathJax/issues/795找到。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM