From: Tim Düsterhus Date: Wed, 7 Apr 2021 09:27:50 +0000 (+0200) Subject: Add markdownextradata plugin X-Git-Tag: 5.6.final~276^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ef4c04b188fe9ad4aa8d9c0bb850e483d876dffe;p=GitHub%2FWoltLab%2Fwoltlab.github.io.git Add markdownextradata plugin --- diff --git a/mkdocs.yml b/mkdocs.yml index bf023651..d692b703 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -132,6 +132,11 @@ nav: plugins: - git-revision-date - search + - markdownextradata: + jinja_options: + block_start_string: "{jinja%" + comment_start_string: "{jinja#" + variable_start_string: "{jinja{" markdown_extensions: - toc: @@ -155,3 +160,4 @@ extra_css: extra: version: provider: mike + gitbranch: 5.4 diff --git a/requirements.txt b/requirements.txt index e088bb2c..eaec8d70 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,6 @@ Markdown==3.3.4 mike==0.5.5 mkdocs-git-revision-date-plugin==0.3.1 +mkdocs-markdownextradata-plugin==0.2.4 mkdocs-material==7.1.0 mkdocs==1.1.2