Update to make TOC syntax be case-insensitive
This commit is contained in:
parent
36aa15f339
commit
46752194e4
1 changed files with 1 additions and 1 deletions
|
@ -1032,7 +1032,7 @@ var gistPlugin = new Plugin(
|
||||||
//TOC
|
//TOC
|
||||||
var tocPlugin = new Plugin(
|
var tocPlugin = new Plugin(
|
||||||
// regexp to match
|
// regexp to match
|
||||||
/^\[TOC\]$/,
|
/^\[TOC\]$/i,
|
||||||
|
|
||||||
// this function will be called when something matches
|
// this function will be called when something matches
|
||||||
function (match, utils) {
|
function (match, utils) {
|
||||||
|
|
Loading…
Reference in a new issue