Skip to content

Commit

Permalink
Enable compatibility with Mistune v2
Browse files Browse the repository at this point in the history
  • Loading branch information
TiagodePAlves committed Jun 16, 2023
1 parent be2990e commit 1b36901
Show file tree
Hide file tree
Showing 3 changed files with 252 additions and 127 deletions.
3 changes: 1 addition & 2 deletions nbconvert/exporters/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,7 @@ def markdown2html(self, context, source):
anchor_link_text=self.anchor_link_text,
exclude_anchor_links=self.exclude_anchor_links,
)
md = MarkdownWithMath(renderer=renderer)
return md(source)
return MarkdownWithMath(renderer=renderer).render(source)

def default_filters(self):
"""Get the default filters."""
Expand Down

0 comments on commit 1b36901

Please sign in to comment.