<feed xmlns='http://www.w3.org/2005/Atom'>
<title>asciidoctor-go/asciidoctor.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-02-18T04:12:44Z</updated>
<entry>
<title>all: fix parsing inline format with escaped character</title>
<updated>2026-02-18T04:12:44Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-02-18T04:12:44Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=974b8b5068b688258dbe1ffcc37d0ce0f3f4b4c7'/>
<id>urn:sha1:974b8b5068b688258dbe1ffcc37d0ce0f3f4b4c7</id>
<content type='text'>
If the text inside the inline format contains escaped character, the
parsing failed to find the closed character which cause the format is
not rendered as expected.
</content>
</entry>
<entry>
<title>Release asciidoctor-go v0.7.3 (2026-02-09)</title>
<updated>2026-02-09T06:00:04Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-02-09T06:00:04Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=4956de038af8b52db6d03f0b6f5b77e6b7cfa721'/>
<id>urn:sha1:4956de038af8b52db6d03f0b6f5b77e6b7cfa721</id>
<content type='text'>
**🌼 all: add aria-label to the anchor when sectanchor enabled**

The aria-label help user with screen reader to discern and navigate
the anchor.

For more information see
https://dequeuniversity.com/rules/axe/4.11/link-name .

**🌼 all: update default CSS to asciidoctor v2.0.26**

The default CSS now split into separate file to simplify tracking and
modifying the style as needed.
</content>
</entry>
<entry>
<title>all: use separate file with go:embed for default CSS</title>
<updated>2026-01-22T20:42:57Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-01-22T20:36:53Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=7346cea5b876c99877d156f7d8428442507a5e98'/>
<id>urn:sha1:7346cea5b876c99877d156f7d8428442507a5e98</id>
<content type='text'>
Using separate file allow tracking and modifying the style as needed.
</content>
</entry>
<entry>
<title>Release asciidoctor-go v0.7.2 (2025-12-27)</title>
<updated>2025-12-27T06:22:56Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2025-12-27T06:22:56Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=050ae5215ba426a1f2a13dcc5555f9d1b21d9d56'/>
<id>urn:sha1:050ae5215ba426a1f2a13dcc5555f9d1b21d9d56</id>
<content type='text'>
This release update the README so the _doc directory can be served under
https://kilabit.info/project/asciidoctor-go .

The go.mod is updated to use minimum Go 1.24.0 and all dependencies has
been updated to latest release.

</content>
</entry>
<entry>
<title>Release asciidoctor-go v0.7.1 (2025-04-18)</title>
<updated>2025-04-18T12:41:38Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2025-04-18T12:41:38Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=dd30c720046cc9d131dc638a56a45c12f9051806'/>
<id>urn:sha1:dd30c720046cc9d131dc638a56a45c12f9051806</id>
<content type='text'>
[BUG FIX] **Fix the logic when applying default embedded CSS.**

By default, the document contains ":stylesheet:" attribute, which
means using the default embedded CSS.
To disable it, unset the attribute using ":stylesheet!:".
To overwrite it, set the attribute to path of CSS file
":stylesheet: my.css".

[ENHANCEMENT] Export the constant for document attribute "stylesheet".

</content>
</entry>
<entry>
<title>Release asciidoctor-go v0.7.0 (2025-04-18)</title>
<updated>2025-04-18T09:29:09Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2025-04-18T09:28:15Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=a6d11741c4c050cb0cec96f588baff6366da30d2'/>
<id>urn:sha1:a6d11741c4c050cb0cec96f588baff6366da30d2</id>
<content type='text'>
[NEW FEATURE] Support include directive inside block code.

Example of block code with include directive,

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

[NEW FEATURE] Support document attribute "docdir"

The "docdir" attribute contains the full path of the directory that
contains the source document.
By default it is set to the directory where the Document resided.

[NEW FEATURE] Add default HTML stylesheet.

The generated HTML now contains the default stylesheet.
The stylesheet is copied from HTML file generated by Asciidoctor
v2.0.23.
</content>
</entry>
<entry>
<title>Release asciidoctor-go v0.6.2 (2025-02-01)</title>
<updated>2025-02-01T02:06:35Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2025-02-01T01:55:54Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=3597269b177017c3d35896d9ff12f15af616a72c'/>
<id>urn:sha1:3597269b177017c3d35896d9ff12f15af616a72c</id>
<content type='text'>
[BUG FIX]
Fix section detected as paragraph after list and comment.
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.

[CHORE]
In the linter, we replace the fieldalignment and shadow using our internal
gocheck command.
This linters actually have an API that can be combined into a program,
which provided by package "pakakeh.go/lib/goanalysis".

</content>
</entry>
<entry>
<title>Release asciidoctor-go v0.6.1 (2024-12-08)</title>
<updated>2024-12-08T14:06:49Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-12-08T14:03:01Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=d4b59bd3cefeb40c5c59f5bf79d10d48e725b0f3'/>
<id>urn:sha1:d4b59bd3cefeb40c5c59f5bf79d10d48e725b0f3</id>
<content type='text'>
=== Bug fixes

* all: fix error log when failed to open included file::

  The log use the wrong variable when printing path for failed include
  file.

* all: fix reading include file when parent path is absolute::

  Previously, if the parent document is opened using absolute path and
  it contains include directive, the included file will fail to read
  because the parent path is joined with current working directory.
</content>
</entry>
<entry>
<title>Release asciidoctor-go v0.6.0 (2024-09-07)</title>
<updated>2024-09-07T09:47:04Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-09-07T09:47:04Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=d7214a14e994bea65eab6620689708484b9c45e7'/>
<id>urn:sha1:d7214a14e994bea65eab6620689708484b9c45e7</id>
<content type='text'>
=== Breaking changes

* all: rename struct "AttributeEntry" to "DocumentAttribute"

  This is to make the struct is clear that it represent the document
  attribute.

* all: rename struct "AttributeEntry" to "DocumentAttribute"

  This is to make the struct is clear that it represent the document
  attribute.

* all: refactoring DocumentAttribute into struct

  Using struct limit the value to only string, while some attributes can
  be an integer value, for example "leveloffset".

=== New features

* all: support document attribute "leveloffset"

  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/

=== Enhancements

* all: use strict document header format

  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.

* all: remove unnecessary TrimRight

  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>Release asciidoctor-go v0.5.2 (2023-04-04)</title>
<updated>2024-04-04T14:45:27Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-04-04T14:45:27Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=9a2bcad4d62c7fd93a3411e0a60cfa07c2b04051'/>
<id>urn:sha1:9a2bcad4d62c7fd93a3411e0a60cfa07c2b04051</id>
<content type='text'>
This release only contains chores.

* all: replace module "share" with "pakakeh.go"

  The "share" module has been moved to new repository with new name at
  "https://sr.ht/~shulhan/pakakeh.go".
  For more information see the change logs at "pakakeh.go" module.

* all: comply with linter recommendations

  Most of the code changes related to refactoring if-else witch switch
  statement.

* all: replace if-else bytes.Equals with static string case comparisons

  Using string instead of [bytes.Equal] give code much more readable.
</content>
</entry>
</feed>
