##// END OF EJS Templates
simple custom converter
Jonathan Taylor -
Show More
@@ -1,15 +1,10 b''
1 import os, copy
1 """
2 This module gives a simple example of a custom notebook converter taht only
3 captures display data and deletes the cell inputs.
4 """
2
5
6 import copy
3 import nbconvert as nb
7 import nbconvert as nb
4 import json
5 from decorators import DocInherit
6
7 from IPython.external import argparse
8 from IPython.nbformat import current as nbformat
9 from IPython.nbformat.v3.nbjson import from_dict, rejoin_lines, BytesEncoder
10 from IPython.utils.text import indent
11 from IPython.utils import py3compat
12
13
8
14 class CustomNotebookConverter(nb.ConverterNotebook):
9 class CustomNotebookConverter(nb.ConverterNotebook):
15
10
General Comments 0
You need to be logged in to leave comments. Login now