大家好,我正在 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 专家,但看起来星号在 HTML 标签内时不会被解释为斜体。第一个有效,第二个无效。
<center>Based on the data from <i>January 1, 2018</i></center>
<center>Based on the data from *January 1, 2018*<center>
不确定是否将输出格式化为 SO。哈。
关于python - Jupyter/IPython Notebook 文本编辑为 markdown,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53217734/