From 30850ff725aa5c12d7951c777e10bb9d343e85ba Mon Sep 17 00:00:00 2001 From: Bobby Date: Mon, 21 Oct 2019 12:09:19 -0500 Subject: [PATCH] Make LaTeX compatible with MathJax version 3 (#230) * Make MathJax version 3 work * Change my contributor link --- CONTRIBUTORS.md | 1 + layouts/partials/posts/math.html | 36 +++++++++++++++----------------- 2 files changed, 18 insertions(+), 19 deletions(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index c6290a4..affa69b 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -46,3 +46,4 @@ - [Lionel Brianto](https://lionel.brianto.dev) - [Luis Zarate](https://github.com/jlzaratec) - [Ariejan de Vroom](https://www.devroom.io) +- [Bobby Lindsey](https://bobbywlindsey.com) diff --git a/layouts/partials/posts/math.html b/layouts/partials/posts/math.html index 658d3b5..c64a187 100644 --- a/layouts/partials/posts/math.html +++ b/layouts/partials/posts/math.html @@ -1,25 +1,23 @@ {{- if .Params.math -}} - + + + {{- end -}} {{- if .Params.katex -}}