[IPython-dev] nbviewer, slideviewer and markdown

Matthias BUSSONNIER bussonniermatthias at gmail.com
Tue Jun 4 10:00:44 EDT 2013


Hi, 

Le 4 juin 2013 à 15:31, Satrajit Ghosh a écrit :

> hi all,
> 
> neither nbviewer or slideviewer interprets markdown of the following syntax properly. it works fine in the notebook though.
> 
> ```python
> >>> import numpy as np
> >>> import scipy.io as sio
> ```
> 
> or 
> 
> ```
> >>> import numpy as np
> >>> import scipy.io as sio
> ```

This is not standard markdown, it is github flavored markdown.
Try indenting 4 spaces. ( Yes I know it world on notebook )

> also would it be easily possible to tweak these viewers to put a scrollbox with click expand/collapse for long output, much like the notebook actually does?

Maybe, depends on how fast nbconvert move forward… 

--
Matthias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20130604/ab9ca0fe/attachment.html>


More information about the IPython-dev mailing list