From 899dbeba8797663d3c1145db8f61b282c6dcef2a Mon Sep 17 00:00:00 2001 From: no-arbitrage <184970492+no-arbitrage@users.noreply.github.com> Date: Mon, 18 Nov 2024 12:42:50 +0000 Subject: [PATCH] Update _config.yml --- _config.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/_config.yml b/_config.yml index 0f8ca018..e5913d3e 100644 --- a/_config.yml +++ b/_config.yml @@ -264,6 +264,15 @@ kramdown: +katex: + # js_path: "{{ Gem::lib_path }}/assets/js" # Path used to search for katex.min.js + js: "https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.js" + css: "https://cdn.jsdelivr.net/npm/katex@0.16.8/dist/katex.min.css" + rendering_options: + # Default KaTeX rendering options. See https://github.com/Khan/KaTeX#rendering-options + throw_error: true # throwOnError - set to false if you want rendering to output error as text rather than a build error + error_color: "#cc0000" # errorColor + plugins: - jekyll-feed @@ -271,5 +280,6 @@ plugins: - jekyll-sitemap - jekyll-paginate - jekyll-spaceship + - jekyll-katex