Syntax Highlighting in iPython Notebook Markdown Cell
问题 Is there a way to get a Markdown cell in iPython Notebooks to highlight syntax in code blocks? For instance, in GitHub, one can get the desired effect via the following. ```python >>>print('hello') ``` 回答1: The GitHub Flavored Markdown-style of denoting code using the triple-backtick is now supported in IPython master branch on GitHub, and so will be included in the 1.0 release. As Jakob noted, even prior to this, you could use regular markdown for code, in which you just need to indent your