git.iko.soy/typeable/pandoc
on master help sign in
Support toc-title in revealjs (#7171)

* Support toc-title in revealjs * Add semantic HTML "nav" tag Closes #7170. As with default.html5

commit96d384ac9e4458d6067a85a9347bf9d79d131f2d authorFlorian Kohrt <fkohrt@anche.no> dateFri 30 Apr 2021, 03:49 (6 years ago) parentb9b22e3
1 file changed+5
data/templates/default.revealjs+5
data/templates/default.revealjs+5
@@ -59,7 +59,12 @@ $endif$
5959$endif$
6060$if(toc)$
6161<section id="$idprefix$TOC">
62+<nav role="doc-toc">
63+$if(toc-title)$
64+<h2 id="$idprefix$toc-title">$toc-title$</h2>
65+$endif$
6266$table-of-contents$
67+</nav>
6368</section>
6469$endif$
6570