From 64a613ce31a1e236ebb9003f2f8d5d116bdf2446 Mon Sep 17 00:00:00 2001
From: KK <bebound@users.noreply.github.com>
Date: Tue, 26 Nov 2019 12:50:56 +0000
Subject: [PATCH] Add \\( and \\[ as mathjax delimiters (#239)

---
 layouts/partials/posts/math.html |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

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}
         ]
       }
     );">

--
Gitblit v1.10.0