SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
18
devel/py-nbconvert/patches/patch-nbconvert_exporters_html_py
Normal file
18
devel/py-nbconvert/patches/patch-nbconvert_exporters_html_py
Normal file
|
@ -0,0 +1,18 @@
|
|||
Index: nbconvert/exporters/html.py
|
||||
--- nbconvert/exporters/html.py.orig
|
||||
+++ nbconvert/exporters/html.py
|
||||
@@ -1,4 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
+# coding: utf-8
|
||||
"""HTML Exporter class"""
|
||||
|
||||
# Copyright (c) Jupyter Development Team.
|
||||
@@ -9,7 +10,7 @@ import os
|
||||
from traitlets import default, Unicode
|
||||
from traitlets.config import Config
|
||||
from jupyter_core.paths import jupyter_path
|
||||
-from jinja2 import contextfilter
|
||||
+from jinja2 import pass_context as contextfilter
|
||||
|
||||
from nbconvert.filters.highlight import Highlight2HTML
|
||||
from nbconvert.filters.markdown_mistune import IPythonRenderer, MarkdownWithMath
|
Loading…
Add table
Add a link
Reference in a new issue