大家好,我正在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*
。为什么文本没有斜体?
非常感谢!
不是任何类型的降价专家,但在HTML标记中,星号似乎不会被解释为斜体。第一个有效,第二个无效。
<center>Based on the data from <i>January 1, 2018</i></center>
<center>Based on the data from *January 1, 2018*<center>
不确定SO.Ha的输出格式。
您需要将markdown放在markdown单元格中,而不是嵌入在html中。http://www.firstpythonnotebook.org/markdown/
也许已经很晚了,但您可以尝试使用$unicode{x212B}$
,它将呈现为正确的格式。原始解决方案可在https://github.com/mathjax/MathJax/issues/795.