<feed xmlns='http://www.w3.org/2005/Atom'>
<title>asciidoctor-go/document_parser.go, branch main</title>
<subtitle>Native Go parser for asciidoc markup.</subtitle>
<id>http://git.kilabit.info/asciidoctor-go/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/asciidoctor-go/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/'/>
<updated>2026-04-04T09:38:06Z</updated>
<entry>
<title>all: fix parsing literal paragraph</title>
<updated>2026-04-04T09:38:06Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-04-04T09:38:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=45526ab31b93debffd51e1aaad43c9acf9d61ab6'/>
<id>urn:sha1:45526ab31b93debffd51e1aaad43c9acf9d61ab6</id>
<content type='text'>
A line that start with one or more space will be considered
as literal paragraph.
Once literal line found it will end until an empty line.
</content>
</entry>
<entry>
<title>all: support include directive inside block code</title>
<updated>2025-04-18T08:24:10Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2025-04-18T08:24:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=f25296bef9bb02f3be87e61c54703e26b7814096'/>
<id>urn:sha1:f25296bef9bb02f3be87e61c54703e26b7814096</id>
<content type='text'>
Example of block code with include directive,

----
...
include::file[]
...
----

</content>
</entry>
<entry>
<title>all: move setting attribute to Document</title>
<updated>2025-02-16T08:43:05Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2025-02-16T08:43:05Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=5aac8b7676140dcb803fc1614334a92698e35429'/>
<id>urn:sha1:5aac8b7676140dcb803fc1614334a92698e35429</id>
<content type='text'>
Some of attribute may depends on property of the Document.

</content>
</entry>
<entry>
<title>all: fix section detected as paragraph after list and comment</title>
<updated>2025-01-21T14:40:16Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2025-01-21T14:33:46Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=f0de1106fa27a1e3e6ccd3fff8cbbc7f578aaad6'/>
<id>urn:sha1:f0de1106fa27a1e3e6ccd3fff8cbbc7f578aaad6</id>
<content type='text'>
Previously, given the following markup,

----
* Sub list
+
Sub list content.

//}}}
//{{{
== Sub 2
//}}
----

The section "Sub 2" will be parsed as paragraph instead of new section.
</content>
</entry>
<entry>
<title>all: remove unnecessary TrimRight</title>
<updated>2024-08-15T17:30:49Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-08-15T16:30:50Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=e9b1dce76d78e6b26afa57de7469bf262a53790f'/>
<id>urn:sha1:e9b1dce76d78e6b26afa57de7469bf262a53790f</id>
<content type='text'>
Each lines to be parsed has been trimmed on the first load, so
there is no need to do it again, on some cases.
</content>
</entry>
<entry>
<title>all: support document attribute "leveloffset"</title>
<updated>2024-08-15T17:18:55Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-08-14T17:59:58Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=836385a4ad7bc9a914c9a8544901518f0a64f2ed'/>
<id>urn:sha1:836385a4ad7bc9a914c9a8544901518f0a64f2ed</id>
<content type='text'>
The ":leveloffset:" on document attribute allow increment
or decrement the heading level on included files.

Reference: https://docs.asciidoctor.org/asciidoc/latest/directives/include-with-leveloffset/
</content>
</entry>
<entry>
<title>all: refactoring DocumentAttribute into struct</title>
<updated>2024-08-13T16:50:21Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-08-13T16:50:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=64bd8146914636d395ecd50bf2623b5353976521'/>
<id>urn:sha1:64bd8146914636d395ecd50bf2623b5353976521</id>
<content type='text'>
Using struct limit the value to only string, while some attributes
can be an integer value, for example "leveloffset".
</content>
</entry>
<entry>
<title>all: add element kind Section 0</title>
<updated>2024-08-12T17:21:14Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-08-12T17:21:14Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=741463b99f14f1869c804cd4c6b15be155a7c27e'/>
<id>urn:sha1:741463b99f14f1869c804cd4c6b15be155a7c27e</id>
<content type='text'>
The elKindSection0 is the Document Title, the line that start
with "= ".
</content>
</entry>
<entry>
<title>all: use strict document header format</title>
<updated>2024-08-12T16:40:43Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-08-12T16:40:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=e98aea8108d267fc5f8364d0e611698f413095c5'/>
<id>urn:sha1:e98aea8108d267fc5f8364d0e611698f413095c5</id>
<content type='text'>
Previously, an empty line before Document Title cause the parser
stop parsing the document header, now an empty lines are skipped.
Also document attribute can be place anywhere, either before or
after title, and in between attributes; now it can be only placed
after revision or author or title.
</content>
</entry>
<entry>
<title>all: replace module "share" with "pakakeh.go"</title>
<updated>2024-03-05T11:00:34Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-03-05T10:00:19Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=346500242a3541bf9f7d8ce008dcf2ef6950e9a0'/>
<id>urn:sha1:346500242a3541bf9f7d8ce008dcf2ef6950e9a0</id>
<content type='text'>
</content>
</entry>
</feed>
