summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorWu Cheng-Han2016-12-12 10:49:23 +0800
committerWu Cheng-Han2016-12-12 10:49:23 +0800
commit46752194e45e09ac75fe0ab20f856aa6e1379c3d (patch)
treef4232699a770e3ad127d58c7ebccb647cc70d834 /public
parent36aa15f339912d06a0cabc9aaeeab8c4c7227d27 (diff)
Update to make TOC syntax be case-insensitive
Diffstat (limited to '')
-rw-r--r--public/js/extra.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/extra.js b/public/js/extra.js
index 8ca1dcb5..a4eed879 100644
--- a/public/js/extra.js
+++ b/public/js/extra.js
@@ -1032,7 +1032,7 @@ var gistPlugin = new Plugin(
//TOC
var tocPlugin = new Plugin(
// regexp to match
- /^\[TOC\]$/,
+ /^\[TOC\]$/i,
// this function will be called when something matches
function (match, utils) {