mirror of https://github.com/status-im/codimd.git
Update to make TOC syntax be case-insensitive
This commit is contained in:
parent
36aa15f339
commit
46752194e4
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue