Skip to content

Latest commit

 

History

History
69 lines (38 loc) · 1.29 KB

filters.rst

File metadata and controls

69 lines (38 loc) · 1.29 KB

none

Filters

Filters are for use with the TemplateExporter exporter. They provide a way for you transform notebook contents to a particular format depending on the template you are using. For example, when converting to HTML, you would want to use the ansi2html() function to convert ANSI colors (from e.g. a terminal traceback) to HTML colors.

/api/exporters

API documentation for the various exporter classes

nbconvert.filters

add_anchor

add_prompts

ansi2html

ansi2latex

ascii_only

citation2latex

comment_lines

escape_latex

DataTypeFilter

get_lines

convert_pandoc

Highlight2HTML

Highlight2Latex

html2text

indent

ipython2python

markdown2html

markdown2latex

markdown2rst

path2url

posix_path

prevent_list_blocks

strip_ansi

strip_dollars

strip_files_prefix

wrap_text