Skip to content

Commit

Permalink
Fix order
Browse files Browse the repository at this point in the history
  • Loading branch information
chdemko committed Oct 5, 2024
1 parent c8998d7 commit 1edb001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandoc_latex_admonition/_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -645,9 +645,9 @@ def new_environment(doc: Doc, environment: dict[str, Any]) -> str:
return f"""
\\newenvironment{{{environment['env']}}}
{{
\\savenotes\\tcolorbox[{','.join(options)}]
\\setcounter{{mpfootnote}}{{\\value{{footnote}}}}
\\renewcommand\\thempfootnote{{\\arabic{{mpfootnote}}}}
\\savenotes\\tcolorbox[{','.join(options)}]
}}
{{
\\endtcolorbox\\spewnotes
Expand Down

0 comments on commit 1edb001

Please sign in to comment.