diff options
Diffstat (limited to 'public/js/index.js')
-rw-r--r-- | public/js/index.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/public/js/index.js b/public/js/index.js index 046c5407..03f5e587 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -86,6 +86,10 @@ var supportReferrals = [ { text: '![image text](url "title")', search: '![]()' + }, + { + text: '[TOC]', + search: '[]' } ]; var supportExternals = [ @@ -1876,6 +1880,7 @@ function updateViewInner() { finishView(ui.area.view); autoLinkify(ui.area.view); deduplicatedHeaderId(ui.area.view); + renderTOC(ui.area.view); generateToc('toc'); generateToc('toc-affix'); generateScrollspy(); |