v0.4.1 30 days ago .tar.gz browse log

Release asciidoctor-go v0.4.1 (2023-03-03)

=== Bug fixes

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

=== Enhancements

* all: handle empty preamble

v0.4.0 a month ago .tar.gz browse log

Release asciidoctor-go v0.4.0 (2023-02-12)

===  New features

* all: add support for document attribute "last-update-label"
* all: implement inline macro for passthrough ("pass:")
* all: implement macro "footnote:"

===  Bug fixes

* all: detach parsing preamble from content.
  This is to prevent empty preamble being rendered in HTML content.

* all: fix the orders of generated HTML meta

===  Enhancements

* all: support multi line attribute values

v0.3.2 6 months ago .tar.gz browse log

Release asciidoctor-go v0.3.2 (2022-09-05)

===  Bug fix

* all: fix parsing list description inside include directive

===  Chores

* all: update share module to v0.41.0
* all: move all documentation into directory _doc

v0.3.1 7 months ago .tar.gz browse log

Release asciidoctor-go v0.3.1 (2022-08-06)

===  Chores

*  all: rewrite unit tests for inlineParser using test.Data
*  all: cleaning up codes
*  go.mod: update share to v0.40.0

v0.3.0 8 months ago .tar.gz browse log

Release asciidoctor-go v0.3.0 (2022-07-24)

This release set the minimum Go version to 1.18.

===  Breaking changes

*  all: refactoring handling generate ref ID

===  Enhancements

*  all: sort the generated HTML meta by names

*  all: store the list of author names under Attributes "author_names"

*  all: add default metadata "generator"

*  all: realign all structs

===  Chores

*  all: rewrite test using lib/test.Data

v0.2.0 1 year, 28 days ago .tar.gz browse log

Release asciidoctor-go v0.2.0 (2022-03-04)

This release changes the license of asciidoctor-go from BSD to GPL 3.0 or

=== Bug fixes

*  all: fix list check box text get cut one character
Given the following asciidoc check box markup,

	* [ ] abc

It will rendereded as "❏ bc" instead of "❏ abc".

=== Chores

*  all: replace bytes.Title and strings.Title with function
Both of those functions has been deprecated.
Since the Title function is to convert the adminition string into a
human title (first letter uppercase), we can use a function to do that.
Any unknown admonition will be returned as is.

v0.1.1 1 year, 3 months ago .tar.gz browse log

Release asciidoctor-go v0.1.1 (2021-12-06)

=== Bug fixes

*  all: fix parsing and rendering cross reference

   Previously, when parsing cross reference we assume that if the string
   contains upper-case letter then it's a label so we store it as title
   to search for ID later.

   The bug is when ID is set manually and its contains upper-case for
   example "[#Id]".

   This changes fix this issue by storing cross reference first, not
   assuming it as ID or title, and then when doing rendering we check
   whether its ID or title.

*  all: allow colon ':' and  period '.' on the ID

   According to XML spec [1], the colon is allowed as the first and the next
   character.  While period is only allowed on the next characters.

   [1] https://www.w3.org/TR/REC-xml/#NT-Name

v0.1.0 2 years ago .tar.gz browse log

asciidoctor-go v0.1.0 (2021-03-06)

The asciidoctor-go is the Go module to parse the AsciiDoc (TM) markup
and convert it into HTML5.

This first release bring almost all AsciiDoc syntax except for include
directive, inter-document cross-reference, macros, and non-primary syntax

I hope this library can be useful for Gophers who need the power of AsciiDoc
in their workflows.