aboutsummaryrefslogtreecommitdiff
path: root/testdata/test.adoc
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2020-10-31 04:01:41 +0700
committerShulhan <m.shulhan@gmail.com>2020-10-31 04:01:41 +0700
commit45e1e54c75bda5591cf02ea8bc899a8150b3dcfc (patch)
tree2119c2076af4dc4d738064946a3e7995538218bc /testdata/test.adoc
parentee78188ea91964725f58cc3d8c472cc9ab2f5c36 (diff)
downloadasciidoctor-go-45e1e54c75bda5591cf02ea8bc899a8150b3dcfc.tar.xz
all: implement parser for block anchor and inline anchor
Diffstat (limited to 'testdata/test.adoc')
-rw-r--r--testdata/test.adoc24
1 files changed, 24 insertions, 0 deletions
diff --git a/testdata/test.adoc b/testdata/test.adoc
index 33c43eb..4cf0dca 100644
--- a/testdata/test.adoc
+++ b/testdata/test.adoc
@@ -506,6 +506,30 @@ mailto:ms@kilabit.info[Mail to me].
Relative file link:test.html[test.html].
+
+== Anchors
+
+[[notice]]
+This paragraph gets a lot of attention.
+
+[#notice_2]
+This paragraph gets a lot of attention.
+
+[[bookmark-a]]Inline anchors make arbitrary content referenceable.
+
+[#bookmark-b]#Inline _anchors_ can be applied to a phrase like this one.#
+
+* First item
+* [[step2]]Second item
+* Third item
+
+=== Version 4.9 [[version-4_9]]
+
+=== [[current]]Version 4.10 [[version-4_10]]
+
+[#which-one]
+=== Version 4.11 [[version-4_11]]
+
== Block images
image::sunset.jpg[]