##// END OF EJS Templates
Added ability to export to a 'custom' format,...
Jonathan Frederic -
Show More
@@ -66,6 +66,7 b' def DocDecorator(f):'
66 __all__ = [
66 __all__ = [
67 'export',
67 'export',
68 'export_html',
68 'export_html',
69 'export_custom',
69 'export_latex',
70 'export_latex',
70 'export_markdown',
71 'export_markdown',
71 'export_python',
72 'export_python',
@@ -118,9 +119,17 b' def export(exporter, nb, **kw):'
118
119
119
120
120 @DocDecorator
121 @DocDecorator
122 def export_custom(nb, **kw):
123 """
124 Export a notebook object to a custom format
125 """
126 return export(Exporter, nb, **kw)
127
128
129 @DocDecorator
121 def export_html(nb, **kw):
130 def export_html(nb, **kw):
122 """
131 """
123 Export a notebook object to Basic HTML
132 Export a notebook object to HTML
124 """
133 """
125 return export(HTMLExporter, nb, **kw)
134 return export(HTMLExporter, nb, **kw)
126
135
General Comments 0
You need to be logged in to leave comments. Login now