<feed xmlns='http://www.w3.org/2005/Atom'>
<title>asciidoctor-go/html_backend.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-03-30T14:30:00Z</updated>
<entry>
<title>all: move the sect anchor element to the right</title>
<updated>2026-03-30T14:30:00Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-03-30T14:30:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=f9d7f5a462ef3ba6d07f0f13af6816badcea09e1'/>
<id>urn:sha1:f9d7f5a462ef3ba6d07f0f13af6816badcea09e1</id>
<content type='text'>
Previously, we try to fix the anchor position by using "flex-direction:
row-reverse".
This cause the formatted text inside title also become reversed.
For example,

	== With `mono`

Will rendered as

	mono With $

This is not as expected.

This changes fix this by rendering the anchor on the right after title.
</content>
</entry>
<entry>
<title>all: add aria-label to the anchor when sectanchor enabled</title>
<updated>2026-01-24T14:31:17Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2026-01-24T14:30:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=f289b7f13a1dfc7c096b13b5f194aa61dc14075f'/>
<id>urn:sha1:f289b7f13a1dfc7c096b13b5f194aa61dc14075f</id>
<content type='text'>
The aria-label help user with screen reader to discern and navigate
the anchor.

Ref: https://dequeuniversity.com/rules/axe/4.11/link-name
</content>
</entry>
<entry>
<title>all: group all image related method and functions into single file</title>
<updated>2024-10-15T05:37:13Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-10-15T05:36:20Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=2ea376671b1975392252bc6f70497c54d4bbab16'/>
<id>urn:sha1:2ea376671b1975392252bc6f70497c54d4bbab16</id>
<content type='text'>
This is to make it easy to see how it parsed and how it written to HTML,
make the code more searchable.

While at it, add test for block image.
</content>
</entry>
<entry>
<title>Makefile: replace golangci-lint with "go vet"</title>
<updated>2024-09-07T07:44:36Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-09-07T07:44:36Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=b1572c628a4a07ab189a779f4e703918f9f3a50a'/>
<id>urn:sha1:b1572c628a4a07ab189a779f4e703918f9f3a50a</id>
<content type='text'>
This is the second we remove golangci-lint.
Previously, we replace it with revive, now we replace it with go internal
tools "go vet".

The problem is the same, golangci-lint does not works when compiled or
using gotip.
Also, on VM with 8GB memory, it will crash due to OOM.
</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: rename meta or metadata words to document attribute</title>
<updated>2024-08-13T16:08:33Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-08-13T16:08:33Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=f4c31c2117be6e83c11b975163a7695eddba894b'/>
<id>urn:sha1:f4c31c2117be6e83c11b975163a7695eddba894b</id>
<content type='text'>
The idea is to provide consistent naming for metadata and attribute.
The AsciiDoctor documentation mostly name them as document attribute.
</content>
</entry>
<entry>
<title>all: comply with linter recommendations</title>
<updated>2024-03-05T11:00:34Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2024-03-05T10:18:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=2a51183943b29f9011d2ffa439a1cce502ce36cb'/>
<id>urn:sha1:2a51183943b29f9011d2ffa439a1cce502ce36cb</id>
<content type='text'>
</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>
<entry>
<title>all: replace linter golangci-lint with revive and shadow</title>
<updated>2023-12-09T16:36:50Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-12-09T16:34:41Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=f016620361024bb3f5c9709bfdf1e48691439ad4'/>
<id>urn:sha1:f016620361024bb3f5c9709bfdf1e48691439ad4</id>
<content type='text'>
The golangci-lint does not output any results anymore
Either we are getting good at writing Go or the linter itself is become
less good.
We also have seen that the latest golangci-lint is failed to build
with Go tip, a simple "make" on the golangci-lint never success in my
experiences.

This changes fix all the output reported by the revive and shadow.
</content>
</entry>
<entry>
<title>all: fix rendering blockquote without attribution</title>
<updated>2023-05-27T19:38:52Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-05-27T19:38:52Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=5d485c22755334728dea72d7ce434814021e3aaa'/>
<id>urn:sha1:5d485c22755334728dea72d7ce434814021e3aaa</id>
<content type='text'>
Previously, in the htmlWriteBlockQuoteEnd, if attribution is set
we add HTML tag &lt;div&gt; and close it later after we add citation.

The issue is we did not check if attribution is true again when we
add closing tag for div, which make the div above of blockquote get
closed.
</content>
</entry>
</feed>
