Render markdown cells with pandoc in ipython notebook
I know that it is possible to add custom css
and js
our laptops ipython. I also know that we can change the templates used to convert the file ipynb
to static html with nbconvert
. However, I did not understand how we can change templates. for rendering a live ipython notebook.
I am using ipython == 2.20 installed via pip
in Ubuntu 14.04 distribution.
I would like to render all my markup cells withpandoc
rather than node.js marked
as is the default inIPython/html/static/notebook/js/textcell.js
source to share
This is unfortunately not possible out of the box with an IPython notebook. The mathjax javascript library is available for the IPython notebook, so Markdown can be parsed, but there is no such javascript library to use pandoc to render a text cell.
I would recommend researching commonmark , node-pdc, and markmon for inspiration if you want to research writing such a library.
source to share