site: fix TOC in contributing, manuals

[ci skip]
This commit is contained in:
Simon Michael 2019-02-12 09:58:22 -08:00
parent f3e1505b43
commit 2530d9b853
4 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<!-- consolidating dev docs from wiki, https://github.com/simonmichael/hledger/issues/920 WIP -->
$toc$
$TOC$
<style>
/* table styles */

View File

@ -30,7 +30,7 @@ This doc is for version **_version_** (dev).
m4_dnl
m4_dnl Insert a table of contents marker, which doc build scripts will populate.
m4_define({{_toc_}},{{
\$toc\$
\$TOC\$
}})m4_dnl
m4_dnl
m4_dnl Helpers for generating table markup.

View File

@ -10,7 +10,7 @@ $include-before$
$endfor$
-->
<!-- $toc$ -->
<!-- $TOC$ -->
$body$

View File

@ -1,6 +1,6 @@
function Para(p)
if not p.content[1] then return p end
if not (p.content[1].t == "Str") then return p end
if not (p.content[1].text == "$toc$") then return p end
if not (p.content[1].text == "$TOC$") then return p end
return pandoc.Null()
end