Jupyter / IPython 笔记本文本编辑为降价

Jupyter / IPython Notebook text editing as markdown

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

如您所见,我试图将日期设为斜体,但是当我 运行 命令时,结果打印了 Based on the data from *January 1, 2018*。为什么文本不是斜体?

非常感谢!

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

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

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

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

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