aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-07-24 13:54:43 +0700
committerShulhan <ms@kilabit.info>2022-07-24 13:54:43 +0700
commit122e3c8e29b61a90a75d676a47e0e9b872d22016 (patch)
treefcfe57c4bcd8162eee432d0492438e1d31a07f27
parentf5dafc0de0941f2fc6bb23548a51b8b50c039750 (diff)
downloadasciidoctor-go-122e3c8e29b61a90a75d676a47e0e9b872d22016.tar.xz
all: mention in SPECS that there are no empty line in document header
An empty line mark as the end of document header.
-rw-r--r--README2
-rw-r--r--SPECS.adoc7
2 files changed, 7 insertions, 2 deletions
diff --git a/README b/README
index 3a8dfc8..4877b75 100644
--- a/README
+++ b/README
@@ -173,7 +173,7 @@ List of features which will be implemented,
=== BUGS
-* Comment above heading 1 with space cause the heading not parsed.
+Unknown.
=== ENHANCEMENTS
diff --git a/SPECS.adoc b/SPECS.adoc
index 7e35af6..0b745fe 100644
--- a/SPECS.adoc
+++ b/SPECS.adoc
@@ -79,8 +79,13 @@ DOC_HEADER = *(DOC_ATTRIBUTE / COMMENTS)
(*DOC_ATTRIBUTE)
DOC_REVISION LF
(*DOC_ATTRIBUTE)
+----
+
+There are no empty line before and after the document header.
+An empty line mark as the end of document header.
-DOC_TITLE = 1*ADOC_WORD
+----
+DOC_TITLE = 1*WORD
DOC_AUTHORS = MAILBOX *( ";" MAILBOX )