aboutsummaryrefslogtreecommitdiff
path: root/testdata/test.adoc
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2020-10-29 22:46:08 +0700
committerShulhan <m.shulhan@gmail.com>2020-10-29 22:46:08 +0700
commitb6f8128c320e9e197f322168ae4641b875ab4c2f (patch)
tree39d94892eda784545f39c5ae070f9380e03151a6 /testdata/test.adoc
parent4552d4bbd52b760ef377cc35f02772a10f00c765 (diff)
downloadasciidoctor-go-b6f8128c320e9e197f322168ae4641b875ab4c2f.tar.xz
all: implement parser and HTML renderer for table of contents
The current implementation only support toc position "auto" (default) and "preamble" with option to set toc level and title.
Diffstat (limited to 'testdata/test.adoc')
-rw-r--r--testdata/test.adoc2
1 files changed, 2 insertions, 0 deletions
diff --git a/testdata/test.adoc b/testdata/test.adoc
index 8805c34..9b79149 100644
--- a/testdata/test.adoc
+++ b/testdata/test.adoc
@@ -3,6 +3,8 @@
Author A, Author B
:unclosed metadata:
v1.1.1, 18 July 2020
+:toc: preamble
+:toclevels: 4
This is preamble.
:other metadata: