Page MenuHomec4science

slides_config.py
No OneTemporary

File Metadata

Created
Fri, May 17, 08:24

slides_config.py

from __future__ import print_function
import os
import sys
dirname = os.path.dirname(__file__)
print(dirname)
sys.path.append(dirname)
c = get_config()
c.Exporter.template_file = 'presentation.tpl'
print(c.Exporter.__dict__)
#c.Exporter.template_file = 'mybasic.tpl'
c.Exporter.template_path.append(os.path.join(dirname,'templates'))
#c.Exporter.preprocessors = ['execute_markdown.ExecutePreprocessor','pre_pymarkdown.PyMarkdownPreprocessor']
c.Exporter.preprocessors = ['jupyter_contrib_nbextensions.nbconvert_support.pre_pymarkdown.PyMarkdownPreprocessor']

Event Timeline