Explain new collapsible code cells feature in Readme.md

This commit is contained in:
Jörg Dietrich
2014-02-11 22:31:30 +01:00
parent 8d6a4a9d79
commit b412bb1c56

View File

@@ -98,4 +98,15 @@ are a few extra steps required for this plugin:
this will insert the proper css formatting into your document. this will insert the proper css formatting into your document.
### Collapsible Code in IPython Notebooks
The plugin also enables collapsible code input boxes. For this to work
you first need to copy the file ``pelicanhtml.tpl`` to the top level
of your Pelican blog. Notebook input cells containing the comment line
``# <!-- collapse=True -->`` will be collapsed when the html page is
loaded and can be expanded by clicking on them. Cells containing the
comment line ``# <!-- collapse=False -->`` will be open on load but
can be collapsed by clicking on their header. Cells without collapse
comments are rendered as standard code input cells.
[1] http://ipython.org/ [1] http://ipython.org/