Skip to content

Commit

Permalink
fix: Run on_page_markdown event "first" (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paulo Ribeiro committed Oct 16, 2022
1 parent 89ef479 commit ed98477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mkdocs_include_markdown_plugin/plugin.py
Expand Up @@ -58,7 +58,7 @@ def on_serve(self, server, builder, **kwargs):
SERVER = server
self._watch_included_files()

@mkdocs.plugins.event_priority(-100)
@mkdocs.plugins.event_priority(100)
def on_page_markdown(self, markdown, page, **kwargs):
global WATCHING_FILES
if WATCHING_FILES is None:
Expand Down

0 comments on commit ed98477

Please sign in to comment.