"titlepage":{}, "toc": True, "listfigures": True, "listtables": True, "listcode": True, } } config = {'TemplateExporter.filters':_filters, 'Exporter.filters':_filters, 'Exporter.preprocessors':[MetaDefaults,SplitOutputs,LatexDocLinks,LatexDocHTML,LatexTagsToHTML, LatexCaptions,MarkdownSlides], 'MarkdownSlides.column_level':1, 'MarkdownSlides.row_level':0, 'MarkdownSlides.header_slide':False, 'MarkdownSlides.max_cells':0, 'MarkdownSlides.autonumbering':True, 'SplitOutputs.split':True, 'MetaDefaults.cell_defaults':cell_defaults, 'MetaDefaults.nb_defaults':nb_defaults, 'LatexDocHTML.src_name':"data-src", 'LatexCaptions.add_prefix':True} template = create_tpl([ content.tpl_dict, content_tagging.tpl_dict, mathjax.tpl_dict, widgets.tpl_dict, slides.tpl_dict, latex_doc.tpl_dict,slides_ipypublish.tpl_dict, ])
#!/usr/bin/env python """revel.js slides in the standard nbconvert format """ from ipypublish.html.create_tpl import create_tpl from ipypublish.html.standard import content from ipypublish.html.standard import content_tagging from ipypublish.html.standard import mathjax from ipypublish.html.standard import slides from ipypublish.html.standard import widgets oformat = 'Slides' config = {} template = create_tpl([ content.tpl_dict, content_tagging.tpl_dict, mathjax.tpl_dict, widgets.tpl_dict, slides.tpl_dict ])
'replace_string': replace_string }, 'Exporter.filters': { 'replace_string': replace_string }, 'Exporter.preprocessors': [ MetaDefaults, SplitOutputs, LatexDocLinks, LatexDocHTML, LatexTagsToHTML, LatexCaptions ], 'SplitOutputs.split': True, 'MetaDefaults.cell_defaults': cell_defaults, 'MetaDefaults.nb_defaults': nb_defaults, 'LatexCaptions.add_prefix': True } template = create_tpl([ document.tpl_dict, content.tpl_dict, content_tagging.tpl_dict, mathjax.tpl_dict, widgets.tpl_dict, # inout_prompt.tpl_dict, toggle_buttons.tpl_dict, toc_sidebar.tpl_dict, latex_doc.tpl_dict ])
#!/usr/bin/env python """html in standard nbconvert format """ from __future__ import annotations from ipypublish.html.create_tpl import create_tpl from ipypublish.html.standard import content from ipypublish.html.standard import content_tagging from ipypublish.html.standard import document from ipypublish.html.standard import inout_prompt from ipypublish.html.standard import mathjax from ipypublish.html.standard import widgets oformat = 'HTML' config = {} template = create_tpl([ document.tpl_dict, content.tpl_dict, content_tagging.tpl_dict, mathjax.tpl_dict, widgets.tpl_dict, inout_prompt.tpl_dict ])