Skip to content

Commit

Permalink
Fix constant name
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollonval authored Dec 30, 2024
1 parent 98961a8 commit d3e5750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nbconvert/filters/markdown_mistune.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class MathBlockParser(BlockParser):

ATX_HEADING_WITHOUT_LEADING_SPACES = (
r"^ {0,3}(?P<atx_1>#{1,6})(?!#+)(?P<atx_2>[ \t]*(.*?)?)$"
if MISTUNE_V2_ATX else r"^ {0,3}(?P<axt_1>#{1,6})(?!#+)(?P<axt_2>[ \t]*(.*?)?)$"
if MISTUNE_V3_ATX else r"^ {0,3}(?P<axt_1>#{1,6})(?!#+)(?P<axt_2>[ \t]*(.*?)?)$"
)

MULTILINE_MATH = _dotall(
Expand Down

0 comments on commit d3e5750

Please sign in to comment.