<feed xmlns='http://www.w3.org/2005/Atom'>
<title>asciidoctor-go, branch v0.5.0</title>
<subtitle>Native Go parser for asciidoc markup.</subtitle>
<id>http://git.kilabit.info/asciidoctor-go/atom?h=v0.5.0</id>
<link rel='self' href='http://git.kilabit.info/asciidoctor-go/atom?h=v0.5.0'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/'/>
<updated>2023-06-04T09:14:22Z</updated>
<entry>
<title>Release asciidoctor-go v0.5.0 (2023-06-04)</title>
<updated>2023-06-04T09:14:22Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-06-04T09:12:42Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=a1084b36db923f54bc1e0047ec4681626164260a'/>
<id>urn:sha1:a1084b36db923f54bc1e0047ec4681626164260a</id>
<content type='text'>
=== New features

* all: add support for unordered list with '-'

=== Bug fixes

* all: fix rendering blockquote without attribution
* all: handle custom marker in between unordered list
</content>
</entry>
<entry>
<title>go.mod: update share module to v0.47.0</title>
<updated>2023-06-04T09:06:12Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-06-04T09:06:12Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=191fe5d486492ec3b564f77d4c3708f2fa3201e5'/>
<id>urn:sha1:191fe5d486492ec3b564f77d4c3708f2fa3201e5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: handle custom marker in between unordered list</title>
<updated>2023-05-30T15:12:59Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-05-30T15:12:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=4e0507b62393b8461b29cda7565f685d79b58ca3'/>
<id>urn:sha1:4e0507b62393b8461b29cda7565f685d79b58ca3</id>
<content type='text'>
Given the following markup,

  [square]
  * item 1
  [circle]
  ** item 2

The list on item 2 now start with `&lt;div class="ulist circle"&gt;`.
</content>
</entry>
<entry>
<title>_doc: add HTML file to test previewing partial HTML content</title>
<updated>2023-05-28T14:05:35Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-05-28T14:05:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=3c25256f105271c402eb56cd19b1e73fa8fd26fb'/>
<id>urn:sha1:3c25256f105271c402eb56cd19b1e73fa8fd26fb</id>
<content type='text'>
The HTML file can be viewed by running "make serve-doc" and opening
http://127.0.0.1:8080/test.html .
It provide a textarea where developer can input partial HTML and a
button Preview to render the partial HTML on the right.
</content>
</entry>
<entry>
<title>all: add support for unordered list with '-'</title>
<updated>2023-05-28T13:55:38Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-05-28T13:55:38Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=6f7bb3e07398c80e782dd46045ce020a45067095'/>
<id>urn:sha1:6f7bb3e07398c80e782dd46045ce020a45067095</id>
<content type='text'>
The unordered list item with hyphen ('-') cause too much confusion and
inconsistency, nevertheless most of still use it.

Case one, given the following markup,

```
- Item 1
+
"A line
of quote"
-- Author
```

Is the "Author" the sub item in list or we are parsing author of quote
paragraph?

Case two, the writer want to write em dash (`&amp;#8212;` in HTML Unicode) but
somehow the editor wrap it and start in new line.

As a reminder, the official documentation only recommend using hyphen for
simple list item [1].

[1] https://docs.asciidoctor.org/asciidoc/latest/lists/unordered/#basic-unordered-list
</content>
</entry>
<entry>
<title>all: reformat list item, remove numbering prefix xx.x.</title>
<updated>2023-05-28T07:32:23Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-05-28T07:32:23Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=4a6f5296b2c03e8c8ee681a31bc39822efeddffc'/>
<id>urn:sha1:4a6f5296b2c03e8c8ee681a31bc39822efeddffc</id>
<content type='text'>
Somehow using "X." prefix after list item rendered different on different
host.
For example, given these markdown

* 16. Sections
  * 16.1. Titles as HTML headings

On github [1],

  * xvi. Sections
    o 16.1. Titles as HTML headings

On SourceHut [2],

  * Sections
    o 16.1. Titles as HTML headings

On pkg.go.dev [3],

   o i. Sections
     o 16.1. Titles as HTML headings

[1] https://github.com/shuLhan/asciidoctor-go/tree/f3bc802f3978192ad25176a0f9e2c24ac855c23a
[2] N/A
[3] https://pkg.go.dev/git.sr.ht/~shulhan/asciidoctor-go@v0.4.2-0.20230527193852-5d485c227553#section-readme
</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>
<entry>
<title>go.mod: update all dependencies and Go version to 1.19</title>
<updated>2023-05-27T17:49:17Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-05-27T17:49:17Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=c66c685ff3d33028811e972811c85be8534760d0'/>
<id>urn:sha1:c66c685ff3d33028811e972811c85be8534760d0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>all: convert README from Asciidoc to Markdown</title>
<updated>2023-05-27T16:47:51Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-05-27T16:47:51Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=f3bc802f3978192ad25176a0f9e2c24ac855c23a'/>
<id>urn:sha1:f3bc802f3978192ad25176a0f9e2c24ac855c23a</id>
<content type='text'>
I use two remote repositories: GitHub and SourceHut.
GitHub support rendering README using asciidoc while SourceHut not.
This cause the repository that use README.adoc rendered as text in
SourceHut which make the repository page less readable.

Also, the pkg.go.dev now render README but only support Markdown.

Since we cannot control the SourceHut and go.dev, the only option is
to support converting Markdown in ciigo so I can write README using
Markdown and the rest of documentation using Asciidoc.

How did Markdown become defactor standard? Its lack comment, creating
table of content, macro, and many more.
</content>
</entry>
<entry>
<title>Release asciidoctor-go v0.4.1 (2023-03-02)</title>
<updated>2023-03-02T16:47:00Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2023-03-02T16:47:00Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/asciidoctor-go/commit/?id=d2e6dd1abb7e506dbe8963c5662c95b74a7d2dfa'/>
<id>urn:sha1:d2e6dd1abb7e506dbe8963c5662c95b74a7d2dfa</id>
<content type='text'>
=== Bug fixes

* all: fix empty line printed on ToHTMLBody or ToHTMLEmbedded
* all: ignore parsing block image in paragraph

=== Enhancements

* all: handle empty preamble
</content>
</entry>
</feed>
