diff options
| author | Shulhan <m.shulhan@gmail.com> | 2020-11-15 22:54:56 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2020-11-15 22:54:56 +0700 |
| commit | 02594b3d9b4e34ac97529da6666333209ca892e4 (patch) | |
| tree | 178aea14de530861066f7b304b243f1505e61cd7 /testdata/test.adoc | |
| parent | 15ab7206637585c64f3ad4eb6e2651ff3fbacd34 (diff) | |
| download | asciidoctor-go-02594b3d9b4e34ac97529da6666333209ca892e4.tar.xz | |
all: unpack the revision number, date, and remark into Revision
Also support setting and checking metadata revnumber, revdate, revremark,
and version-label.
Diffstat (limited to 'testdata/test.adoc')
| -rw-r--r-- | testdata/test.adoc | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/testdata/test.adoc b/testdata/test.adoc index 7cdaf77..fbaec75 100644 --- a/testdata/test.adoc +++ b/testdata/test.adoc @@ -2,7 +2,7 @@ :metadata key: value Author A <a@a.com>; Author mid_dle B <b@b.com> :unclosed metadata: -v1.1.1, 18 July 2020 +v1.1.1, 18 July 2020: remark :sectnums: :toc: :toclevels: 3 @@ -10,6 +10,7 @@ v1.1.1, 18 July 2020 :keywords: key, words :test-url: https://kilabit.info :image-sunset: sunset.jpg +:version-label!: This is preamble. :other metadata: @@ -24,14 +25,18 @@ a :indented-meta: -== Author and emails +== Metadata references -* First author: {author} {firstname} {middlename} {lastname} {email} - {authorinitials} -* First author: {author_1} {firstname_1} {middlename_1} {lastname_1} {email_1} - {authorinitials_1} -* Second author: {author_2} {firstname_2} {middlename_2} {lastname_2} - {email_2} {authorinitials_2} +First author: {author} {firstname} {middlename} {lastname} {email} +{authorinitials}. + +First author: {author_1} {firstname_1} {middlename_1} {lastname_1} {email_1} +{authorinitials_1}. + +Second author: {author_2} {firstname_2} {middlename_2} {lastname_2} +{email_2} {authorinitials_2}. + +Revision: {revnumber}, {revdate}: {revremark}. == _Inline `formatting` on **section**_ |
