[IPython-dev] How to get syntax highlight code blocks in the markdown cells in an IPython notebook?

Matthias BUSSONNIER bussonniermatthias at gmail.com
Fri Mar 14 12:22:51 EDT 2014


Le 14 mars 2014 à 17:14, Raymond Yee a écrit :

> Is there any easy way to get syntax highlighting for code blocks in
> IPython notebook markdown cells?  (I'm writing a midterm in the notebook
> and would like to write code in code cells and then move code into
> markdown cells but retain syntax highlighting.)

```language
blah blah..
```
should work.

-- 
M

> 
> Thanks,
> -Raymond
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev




More information about the IPython-dev mailing list