Skip to content

Commit 070dc7c

Browse files
committed
Fix incorrect math processing
1 parent dff6da7 commit 070dc7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyterlite_sphinx/_try_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ def _append_code_cell_and_clear_lines(code_lines, output_lines, notebook):
133133
def _append_markdown_cell_and_clear_lines(markdown_lines, notebook):
134134
"""Append new markdown cell to notebook, clearing lines."""
135135
markdown_text = "\n".join(markdown_lines)
136-
markdown_text = _process_literal_blocks(markdown_text)
137136
markdown_text = _process_latex(markdown_text)
137+
markdown_text = _process_literal_blocks(markdown_text)
138138
markdown_text = _strip_ref_identifiers(markdown_text)
139139
markdown_text = _convert_links(markdown_text)
140140
notebook.cells.append(new_markdown_cell(markdown_text))

0 commit comments

Comments
 (0)