Skip to content

Commit

Permalink
Merge pull request #666 from d7919/patch-6
Browse files Browse the repository at this point in the history
Update md_admonition.py to fix issue #665
  • Loading branch information
ZedThree authored Nov 12, 2024
2 parents 6e278cc + 8471f19 commit 806ed24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ford/md_admonition.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ def extendMarkdown(self, md):
"""Add Admonition to Markdown instance."""
md.registerExtension(self)
md.parser.blockprocessors.deregister("admonition", strict=False)
md.preprocessors.register(AdmonitionPreprocessor(md), "admonition-pre", 105)
md.preprocessors.register(AdmonitionPreprocessor(md), "admonition-pre", 100)
md.parser.blockprocessors.register(
FordAdmonitionProcessor(md.parser), "admonition", 105
FordAdmonitionProcessor(md.parser), "admonition", 100
)


Expand Down

0 comments on commit 806ed24

Please sign in to comment.