We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c7bb1a commit 270db76Copy full SHA for 270db76
.jenkins/post_process_notebooks.py
@@ -12,7 +12,7 @@
12
13
14
# Pattern to search ``` {.python .jupyter-code-cell}
15
-pattern = re.compile(r'(.*?)``` {.python .jupyter-code-cell}\n\n(from IPython.display import display, HTML\nhtml_code = """\n.*?\n"""\ndisplay\(HTML\(html_code\)\))\n```(.*)', re.DOTALL)
+pattern = re.compile(r'(.*?)``` {\.python \.jupyter-code-cell}\n(.*?from IPython\.display import display, HTML.*?display\(HTML\(html_code\)\))\n```(.*)', re.DOTALL)
16
17
18
def process_video_cell(notebook_path):
0 commit comments