aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorFlorian Kohrt <fkohrt@anche.no>2021-04-30 03:49:17 +0200
committerGitHub <noreply@github.com>2021-04-29 18:49:17 -0700
commit96d384ac9e4458d6067a85a9347bf9d79d131f2d (patch)
tree18af6a5381b821309cc71fe0105e1430a94b7708 /data
parentb9b22e3ce4282499c2710cb974190d775898405f (diff)
downloadpandoc-96d384ac9e4458d6067a85a9347bf9d79d131f2d.tar.gz
Support toc-title in revealjs (#7171)
* Support toc-title in revealjs * Add semantic HTML "nav" tag Closes #7170. As with default.html5
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.revealjs5
1 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/default.revealjs b/data/templates/default.revealjs
index e6d6939cd..e90b32899 100644
--- a/data/templates/default.revealjs
+++ b/data/templates/default.revealjs
@@ -59,7 +59,12 @@ $endif$
$endif$
$if(toc)$
<section id="$idprefix$TOC">
+<nav role="doc-toc">
+$if(toc-title)$
+<h2 id="$idprefix$toc-title">$toc-title$</h2>
+$endif$
$table-of-contents$
+</nav>
</section>
$endif$