簡體   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