diff options
Diffstat (limited to 'preproc.lua')
| -rw-r--r-- | preproc.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/preproc.lua b/preproc.lua index e9aa366..76f0678 100644 --- a/preproc.lua +++ b/preproc.lua @@ -27,7 +27,9 @@ return { table.insert(front, pandoc.RawBlock("html5", '<nav class="table-of-contents capital">')) table.insert(front, pandoc.RawBlock("html5", "<ol>")) -- insert jump to top + table.insert(front, pandoc.RawBlock("html5", "<li>")) table.insert(front, pandoc.Link("back to top", "#top")) + table.insert(front, pandoc.RawBlock("html5", "</li>")) -- create custom toc toc:walk({ Link = function(e) |