123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- <html>
- <style>.content {padding-left:400px;}
- .list
- {
- position: fixed; float: left; margin: 0px; font-size: 16pt; top: 0; left:0;
- width: 350px; background: white; box-shadow: 0px 5px 20px black; height: 100%; padding: 10px;
- }
- </style>
- <body>
- <div class=list><h2>Listing</h2> <li><a href="/index.html">/index</a></li>
- <li><a href="/text.html">/text</a></li>
- </div> <h1><a href="#" style="padding-left: 400px;"> -> /text</a></h1>
- <div class="content"><div class="h"><h1 id="H1">H1</h1><a aria-hidden="true" href="#H1">[link]</a></div>
- <div class="h"><h1 id="TOC is always enabled on news pages">TOC is always enabled on news pages</h1><a aria-hidden="true" href="#TOC is always enabled on news pages">[link]</a></div>
- <p>TOC=$(grep -q “^x-toc-enable: true$” “$TMPFILE” && \
- printf ‘%s\n’ “–toc –toc-depth=4”) || TOC=“”</p>
- <div class="h"><h1 id="TODO: make toc depth configurable in site.cfg">TODO: make toc depth configurable in site.cfg</h1><a aria-hidden="true" href="#TODO: make toc depth configurable in site.cfg">[link]</a></div>
- <p>if [ -f “${FILE%/*}/MANIFEST” ]; then
- TOC=“–toc –toc-depth=4”
- fi</p>
- <div class="h"><h1 id="work around heterogenous pandoc versions">work around heterogenous pandoc versions</h1><a aria-hidden="true" href="#work around heterogenous pandoc versions">[link]</a></div>
- <p>SMART=$(pandoc -v | grep -q ‘2.0’ || \
- printf ‘%s\n’ “-f markdown+smart -t html”) || SMART=“”</p>
- <p>PDIR=“$(getConfigValue ”${STRINGSCFGPATH}“ "PDIR”)"</p>
- <p>printf “Generating ‘%s.html’\n” “${FILE}”</p>
- <div class="h"><h1 id="chuck through pandoc">chuck through pandoc</h1><a aria-hidden="true" href="#chuck through pandoc">[link]</a></div>
- <p>#</p>
- <div class="h"><h1 id="$CSS must not be quoted, otherwise pandoc interprets ‘–css /headercenter.css’">$CSS must not be quoted, otherwise pandoc interprets ‘–css /headercenter.css’</h1><a aria-hidden="true" href="#$CSS must not be quoted, otherwise pandoc interprets ‘–css /headercenter.css’">[link]</a></div>
- <div class="h"><h1 id="as one argument, when it is actually two.">as one argument, when it is actually two.</h1><a aria-hidden="true" href="#as one argument, when it is actually two.">[link]</a></div>
- <div class="h"><h1 id="Same for $TITLE">Same for $TITLE</h1><a aria-hidden="true" href="#Same for $TITLE">[link]</a></div>
- <p>pandoc -V lang=${PAGELANGUAGE} -V dir=${PDIR} $TOC $SMART “$TMPFILE” \
- -s ${CSS} ${CSSOVERRIDE} ${TITLE} \
- –template ${TEMPLATE} –metadata return=“” > “$FILE.html”</p>
- <div class="h"><h1 id="generate section title anchors as [li">generate section title anchors as [li</h1><a aria-hidden="true" href="#generate section title anchors as [li">[link]</a></div>
- <div class="h"><h2 id="TOC is always enabled on news pages">TOC is always enabled on news pages</h2><a aria-hidden="true" href="#TOC is always enabled on news pages">[link]</a></div>
- <p>TOC=$(grep -q “^x-toc-enable: true$” “$TMPFILE” && \
- printf ‘%s\n’ “–toc –toc-depth=4”) || TOC=“”</p>
- <div class="h"><h1 id="TODO: make toc depth configurable in site.cfg">TODO: make toc depth configurable in site.cfg</h1><a aria-hidden="true" href="#TODO: make toc depth configurable in site.cfg">[link]</a></div>
- <p>if [ -f “${FILE%/*}/MANIFEST” ]; then
- TOC=“–toc –toc-depth=4”
- fi</p>
- <div class="h"><h1 id="work around heterogenous pandoc versions">work around heterogenous pandoc versions</h1><a aria-hidden="true" href="#work around heterogenous pandoc versions">[link]</a></div>
- <p>SMART=$(pandoc -v | grep -q ‘2.0’ || \
- printf ‘%s\n’ “-f markdown+smart -t html”) || SMART=“”</p>
- <p>PDIR=“$(getConfigValue ”${STRINGSCFGPATH}“ "PDIR”)"</p>
- <p>printf “Generating ‘%s.html’\n” “${FILE}”</p>
- <div class="h"><h1 id="chuck through pandoc">chuck through pandoc</h1><a aria-hidden="true" href="#chuck through pandoc">[link]</a></div>
- <p>#</p>
- <div class="h"><h1 id="$CSS must not be quoted, otherwise pandoc interprets ‘–css /headercenter.css’">$CSS must not be quoted, otherwise pandoc interprets ‘–css /headercenter.css’</h1><a aria-hidden="true" href="#$CSS must not be quoted, otherwise pandoc interprets ‘–css /headercenter.css’">[link]</a></div>
- <div class="h"><h1 id="as one argument, when it is actually two.">as one argument, when it is actually two.</h1><a aria-hidden="true" href="#as one argument, when it is actually two.">[link]</a></div>
- <div class="h"><h1 id="Same for $TITLE">Same for $TITLE</h1><a aria-hidden="true" href="#Same for $TITLE">[link]</a></div>
- <p>pandoc -V lang=${PAGELANGUAGE} -V dir=${PDIR} $TOC $SMART “$TMPFILE” \
- -s ${CSS} ${CSSOVERRIDE} ${TITLE} \
- –template ${TEMPLATE} –metadata return=“” > “$FILE.html”</p>
- <div class="h"><h1 id="generate section title anchors as [li TOC is always enabled on news pages">generate section title anchors as [li TOC is always enabled on news pages</h1><a aria-hidden="true" href="#generate section title anchors as [li TOC is always enabled on news pages">[link]</a></div>
- <p>TOC=$(grep -q “^x-toc-enable: true$” “$TMPFILE” && \
- printf ‘%s\n’ “–toc –toc-depth=4”) || TOC=“”</p>
- <div class="h"><h1 id="TODO: make toc depth configurable in site.cfg">TODO: make toc depth configurable in site.cfg</h1><a aria-hidden="true" href="#TODO: make toc depth configurable in site.cfg">[link]</a></div>
- <p>if [ -f “${FILE%/*}/MANIFEST” ]; then
- TOC=“–toc –toc-depth=4”
- fi</p>
- <div class="h"><h1 id="work around heterogenous pandoc versions">work around heterogenous pandoc versions</h1><a aria-hidden="true" href="#work around heterogenous pandoc versions">[link]</a></div>
- <p>SMART=$(pandoc -v | grep -q ‘2.0’ || \
- printf ‘%s\n’ “-f markdown+smart -t html”) || SMART=“”</p>
- <p>PDIR=“$(getConfigValue ”${STRINGSCFGPATH}“ "PDIR”)"</p>
- <p>printf “Generating ‘%s.html’\n” “${FILE}”</p>
- <div class="h"><h1 id="chuck through pandoc">chuck through pandoc</h1><a aria-hidden="true" href="#chuck through pandoc">[link]</a></div>
- <p>#</p>
- <div class="h"><h1 id="$CSS must not be quoted, otherwise pandoc interprets ‘–css /headercenter.css’">$CSS must not be quoted, otherwise pandoc interprets ‘–css /headercenter.css’</h1><a aria-hidden="true" href="#$CSS must not be quoted, otherwise pandoc interprets ‘–css /headercenter.css’">[link]</a></div>
- <div class="h"><h1 id="as one argument, when it is actually two.">as one argument, when it is actually two.</h1><a aria-hidden="true" href="#as one argument, when it is actually two.">[link]</a></div>
- <div class="h"><h1 id="Same for $TITLE">Same for $TITLE</h1><a aria-hidden="true" href="#Same for $TITLE">[link]</a></div>
- <p>pandoc -V lang=${PAGELANGUAGE} -V dir=${PDIR} $TOC $SMART “$TMPFILE” \
- -s ${CSS} ${CSSOVERRIDE} ${TITLE} \
- –template ${TEMPLATE} –metadata return=“” > “$FILE.html”</p>
- <div class="h"><h1 id="generate section title anchors as [li">generate section title anchors as [li</h1><a aria-hidden="true" href="#generate section title anchors as [li">[link]</a></div>
- </div> <footer>Generated by 'learn'</footer> </body></html>
|