text.html 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <html>
  2. <style>.content {padding-left:400px;}
  3. .list
  4. {
  5. position: fixed; float: left; margin: 0px; font-size: 16pt; top: 0; left:0;
  6. width: 350px; background: white; box-shadow: 0px 5px 20px black; height: 100%; padding: 10px;
  7. }
  8. </style>
  9. <body>
  10. <div class=list><h2>Listing</h2> <li><a href="/index.html">/index</a></li>
  11. <li><a href="/text.html">/text</a></li>
  12. </div> <h1><a href="#" style="padding-left: 400px;"> -> /text</a></h1>
  13. <div class="content"><div class="h"><h1 id="H1">H1</h1><a aria-hidden="true" href="#H1">[link]</a></div>
  14. <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>
  15. <p>TOC=$(grep -q &ldquo;^x-toc-enable: true$&rdquo; &ldquo;$TMPFILE&rdquo; &amp;&amp; \
  16. printf &lsquo;%s\n&rsquo; &ldquo;&ndash;toc &ndash;toc-depth=4&rdquo;) || TOC=&ldquo;&rdquo;</p>
  17. <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>
  18. <p>if [ -f &ldquo;${FILE%/*}/MANIFEST&rdquo; ]; then
  19. TOC=&ldquo;&ndash;toc &ndash;toc-depth=4&rdquo;
  20. fi</p>
  21. <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>
  22. <p>SMART=$(pandoc -v | grep -q &lsquo;2.0&rsquo; || \
  23. printf &lsquo;%s\n&rsquo; &ldquo;-f markdown+smart -t html&rdquo;) || SMART=&ldquo;&rdquo;</p>
  24. <p>PDIR=&ldquo;$(getConfigValue &rdquo;${STRINGSCFGPATH}&ldquo; "PDIR&rdquo;)"</p>
  25. <p>printf &ldquo;Generating &lsquo;%s.html&rsquo;\n&rdquo; &ldquo;${FILE}&rdquo;</p>
  26. <div class="h"><h1 id="chuck through pandoc">chuck through pandoc</h1><a aria-hidden="true" href="#chuck through pandoc">[link]</a></div>
  27. <p>#</p>
  28. <div class="h"><h1 id="$CSS must not be quoted, otherwise pandoc interprets &lsquo;&ndash;css /headercenter.css&rsquo;">$CSS must not be quoted, otherwise pandoc interprets &lsquo;&ndash;css /headercenter.css&rsquo;</h1><a aria-hidden="true" href="#$CSS must not be quoted, otherwise pandoc interprets &lsquo;&ndash;css /headercenter.css&rsquo;">[link]</a></div>
  29. <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>
  30. <div class="h"><h1 id="Same for $TITLE">Same for $TITLE</h1><a aria-hidden="true" href="#Same for $TITLE">[link]</a></div>
  31. <p>pandoc -V lang=${PAGELANGUAGE} -V dir=${PDIR} $TOC $SMART &ldquo;$TMPFILE&rdquo; \
  32. -s ${CSS} ${CSSOVERRIDE} ${TITLE} \
  33. &ndash;template ${TEMPLATE} &ndash;metadata return=&ldquo;&rdquo; > &ldquo;$FILE.html&rdquo;</p>
  34. <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>
  35. <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>
  36. <p>TOC=$(grep -q &ldquo;^x-toc-enable: true$&rdquo; &ldquo;$TMPFILE&rdquo; &amp;&amp; \
  37. printf &lsquo;%s\n&rsquo; &ldquo;&ndash;toc &ndash;toc-depth=4&rdquo;) || TOC=&ldquo;&rdquo;</p>
  38. <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>
  39. <p>if [ -f &ldquo;${FILE%/*}/MANIFEST&rdquo; ]; then
  40. TOC=&ldquo;&ndash;toc &ndash;toc-depth=4&rdquo;
  41. fi</p>
  42. <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>
  43. <p>SMART=$(pandoc -v | grep -q &lsquo;2.0&rsquo; || \
  44. printf &lsquo;%s\n&rsquo; &ldquo;-f markdown+smart -t html&rdquo;) || SMART=&ldquo;&rdquo;</p>
  45. <p>PDIR=&ldquo;$(getConfigValue &rdquo;${STRINGSCFGPATH}&ldquo; "PDIR&rdquo;)"</p>
  46. <p>printf &ldquo;Generating &lsquo;%s.html&rsquo;\n&rdquo; &ldquo;${FILE}&rdquo;</p>
  47. <div class="h"><h1 id="chuck through pandoc">chuck through pandoc</h1><a aria-hidden="true" href="#chuck through pandoc">[link]</a></div>
  48. <p>#</p>
  49. <div class="h"><h1 id="$CSS must not be quoted, otherwise pandoc interprets &lsquo;&ndash;css /headercenter.css&rsquo;">$CSS must not be quoted, otherwise pandoc interprets &lsquo;&ndash;css /headercenter.css&rsquo;</h1><a aria-hidden="true" href="#$CSS must not be quoted, otherwise pandoc interprets &lsquo;&ndash;css /headercenter.css&rsquo;">[link]</a></div>
  50. <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>
  51. <div class="h"><h1 id="Same for $TITLE">Same for $TITLE</h1><a aria-hidden="true" href="#Same for $TITLE">[link]</a></div>
  52. <p>pandoc -V lang=${PAGELANGUAGE} -V dir=${PDIR} $TOC $SMART &ldquo;$TMPFILE&rdquo; \
  53. -s ${CSS} ${CSSOVERRIDE} ${TITLE} \
  54. &ndash;template ${TEMPLATE} &ndash;metadata return=&ldquo;&rdquo; > &ldquo;$FILE.html&rdquo;</p>
  55. <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>
  56. <p>TOC=$(grep -q &ldquo;^x-toc-enable: true$&rdquo; &ldquo;$TMPFILE&rdquo; &amp;&amp; \
  57. printf &lsquo;%s\n&rsquo; &ldquo;&ndash;toc &ndash;toc-depth=4&rdquo;) || TOC=&ldquo;&rdquo;</p>
  58. <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>
  59. <p>if [ -f &ldquo;${FILE%/*}/MANIFEST&rdquo; ]; then
  60. TOC=&ldquo;&ndash;toc &ndash;toc-depth=4&rdquo;
  61. fi</p>
  62. <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>
  63. <p>SMART=$(pandoc -v | grep -q &lsquo;2.0&rsquo; || \
  64. printf &lsquo;%s\n&rsquo; &ldquo;-f markdown+smart -t html&rdquo;) || SMART=&ldquo;&rdquo;</p>
  65. <p>PDIR=&ldquo;$(getConfigValue &rdquo;${STRINGSCFGPATH}&ldquo; "PDIR&rdquo;)"</p>
  66. <p>printf &ldquo;Generating &lsquo;%s.html&rsquo;\n&rdquo; &ldquo;${FILE}&rdquo;</p>
  67. <div class="h"><h1 id="chuck through pandoc">chuck through pandoc</h1><a aria-hidden="true" href="#chuck through pandoc">[link]</a></div>
  68. <p>#</p>
  69. <div class="h"><h1 id="$CSS must not be quoted, otherwise pandoc interprets &lsquo;&ndash;css /headercenter.css&rsquo;">$CSS must not be quoted, otherwise pandoc interprets &lsquo;&ndash;css /headercenter.css&rsquo;</h1><a aria-hidden="true" href="#$CSS must not be quoted, otherwise pandoc interprets &lsquo;&ndash;css /headercenter.css&rsquo;">[link]</a></div>
  70. <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>
  71. <div class="h"><h1 id="Same for $TITLE">Same for $TITLE</h1><a aria-hidden="true" href="#Same for $TITLE">[link]</a></div>
  72. <p>pandoc -V lang=${PAGELANGUAGE} -V dir=${PDIR} $TOC $SMART &ldquo;$TMPFILE&rdquo; \
  73. -s ${CSS} ${CSSOVERRIDE} ${TITLE} \
  74. &ndash;template ${TEMPLATE} &ndash;metadata return=&ldquo;&rdquo; > &ldquo;$FILE.html&rdquo;</p>
  75. <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>
  76. </div> <footer>Generated by 'learn'</footer> </body></html>