From 2a8f04b087511ff028002c07afab9e501ba991d2 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Mon, 20 Jun 2022 12:17:18 +0200 Subject: [PATCH] feat: Add dependencies for mathjax --- mkdocs-source.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mkdocs-source.yml b/mkdocs-source.yml index 1550310..c3e4ee1 100644 --- a/mkdocs-source.yml +++ b/mkdocs-source.yml @@ -36,21 +36,30 @@ i18n: extra_css: - css/extra.css + - ../docs.extra/css/extra.css extra_javascript: - js/extra.js + - ../docs.extra/js/extra.js + - ../docs.extra/js/mathjax.js + - ../docs.extra/js/polyfill.min.js + - ../docs.extra/js/tex-mml-chtml.js # author: # github: 'glenux' # twitter: 'glenux' # Extensions +# * https://squidfunk.github.io/mkdocs-material/reference/mathjax/ markdown_extensions: - footnotes - admonition - toc: permalink: '#' + # https://squidfunk.github.io/mkdocs-material/reference/mathjax/ + - pymdownx.arithmatex: + generic: true # https://squidfunk.github.io/mkdocs-material/reference/code-blocks/ - pymdownx.highlight: anchor_linenums: false