Render page content before anything else
This commit is contained in:
parent
e393c7c5c1
commit
8038bb819d
1 changed files with 3 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
|||
from mkdocs.plugins import event_priority
|
||||
|
||||
@event_priority(100)
|
||||
def on_page_markdown(markdown, page, config, files):
|
||||
# HACK: Calculate what the `env` should probably look like. By default, `on_env` is called after `on_page_markdown`.
|
||||
env = config.plugins.on_env(config.theme.get_env(), config=config, files=files)
|
||||
|
|
Loading…
Reference in a new issue