Note
This documentation is for a development version of IPython. There may be significant differences from the latest stable release (1.2.1).
This module defines a base Exporter class. For Jinja template-based export, see templateexporter.py.
Bases: collections.defaultdict
Bases: IPython.config.configurable.LoggingConfigurable
Class containing methods that sequentially run a list of preprocessors on a NotebookNode object and then return the modified NotebookNode object and accompanying resources dict.
Public constructor
Parameters: | config : config
|
---|
Convert a notebook from a notebook file.
Parameters: | file_stream : file-like object
|
---|
Convert a notebook from a notebook file.
Parameters: | filename : str
|
---|
Convert a notebook from a notebook node instance.
Parameters: | nb : NotebookNode
resources : dict
**kw
|
---|
Register a preprocessor. Preprocessors are classes that act upon the notebook before it is passed into the Jinja templating engine. preprocessors are also capable of passing additional information to the Jinja templating engine.
Parameters: | preprocessor : preprocessor |
---|