Skip to content

Commit 4675219

Browse files
committed
Update to make TOC syntax be case-insensitive
1 parent 36aa15f commit 4675219

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/js/extra.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ var gistPlugin = new Plugin(
10321032
//TOC
10331033
var tocPlugin = new Plugin(
10341034
// regexp to match
1035-
/^\[TOC\]$/,
1035+
/^\[TOC\]$/i,
10361036

10371037
// this function will be called when something matches
10381038
function (match, utils) {

0 commit comments

Comments
 (0)