diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index de47216..beb3b11 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -50,3 +50,4 @@ - [José Mª Escartín](https://github.com/jme52) - [John Schroeder](https://blog.schroedernet.software) - [Tobias Lindberg](https://tobiaslindberg.com) +- [KK](https://github.com/bebound) diff --git a/layouts/partials/posts/math.html b/layouts/partials/posts/math.html index c64a187..49c07ce 100644 --- a/layouts/partials/posts/math.html +++ b/layouts/partials/posts/math.html @@ -6,10 +6,7 @@ MathJax = { tex: { inlineMath: [ - ['$', '$'] - ], - displayMath: [ - ['$$', '$$'] + ['$', '$'], ['\\(', '\\)'] ], processEscapes: true, processEnvironments: true @@ -29,6 +26,8 @@ delimiters: [ {left: '$$', right: '$$', display:true}, {left: '$', right: '$', display:false}, + {left: '\\(', right: '\\)', display: false}, + {left: '\\[', right: '\\]', display: true} ] } );">