hplgit / doconce

Lightweight markup language - document once, include anywhere
http://hplgit.github.io/doconce/doc/web/index.html
Other
312 stars 60 forks source link

New functionality for IPython/Jupyter notebooks #23

Closed hplgit closed 7 years ago

hplgit commented 9 years ago

The handling of interactive sessions in DocOnce when compiling to the ipynb format has been changed. Previously, the entire session became a computational cell, but this is not what you (normally) want. You want to break up the session such that each output like >>> a ends a cell and enables printing a when executing the cell. In this way, you can recreate the entire interactive session in the notebook. This also works for sessions with IPython syntax.

Special features to be aware of when translating DocOnce to IPython/Jupyter notebooks is document here:

http://hplgit.github.io/doconce/doc/pub/ipynb/info.html