Skip to content

Commit

Permalink
Fix counter
Browse files Browse the repository at this point in the history
  • Loading branch information
chdemko committed Oct 5, 2024
1 parent 2e31fcf commit 43bdd35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pandoc_latex_admonition/_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,7 @@ def new_environment(doc: Doc, environment: dict[str, Any]) -> str:
\\renewcommand\\thempfootnote{{\\arabic{{mpfootnote}}}}
}}
{{
\\setcounter{{footnote}}{{\\value{{mpfootnote}}}}
\\endtcolorbox\\spewnotes
}}
"""
Expand Down

0 comments on commit 43bdd35

Please sign in to comment.