diff --git a/uniweb/templatetags/uniweb_filters.py b/uniweb/templatetags/uniweb_filters.py index 95b7390e21c8f85011f1c2ebec4052ed65327a30..d36977c1b5008b07316bb59c9be9c8a000ad12b9 100644 --- a/uniweb/templatetags/uniweb_filters.py +++ b/uniweb/templatetags/uniweb_filters.py @@ -28,6 +28,9 @@ def jupyterize(value): c.TemplateExporter.exclude_output_prompt = ( True # potlaci prazdne vystupy typu "Out[8]" ) + c.TemplateExporter.exclude_input_prompt = ( + True # potlaci prazdne vystupy typu "In[]" + ) c.preprocessors = ["TagRemovePreprocessor"] nb_body, _ = nbconvert.TemplateExporter(