From dede6e1113cb3c344140f54132d802ab2ae57d07 Mon Sep 17 00:00:00 2001 From: eggy Date: Fri, 11 Sep 2020 19:57:22 -0400 Subject: [PATCH] setup: test markdown features --- docs/index.md | 6 ++++++ mkdocs.yml | 15 +++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/docs/index.md b/docs/index.md index 224ef8d..c9c6262 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1,3 +1,9 @@ # Eifueo Home! + +Testing math rendering: \(a^2+b^2=c^2\) + +| Tables | too! | +| --- | --- | +| yeet | no yeet | diff --git a/mkdocs.yml b/mkdocs.yml index 679ddc5..0f861a8 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -3,3 +3,18 @@ nav: - Home: index.md - G11 SL Physics: sph3u7.md theme: readthedocs +markdown_extensions: + - mdx_math: + add_preview: True + +#extra_css: [ +# 'https://cdn.jsdelivr.net/npm/katex/dist/katex.min.css' +#] + +extra_javascript: [ +# 'https://cdn.jsdelivr.net/npm/katex/dist/katex.min.js', +# 'https://cdn.jsdelivr.net/npm/katex/dist/contrib/mathtex-script-type.min.js' +#] + 'https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js', + 'mathjax-config.js' +]