| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This update fix some issues related to new line on test.Data.
|
|
Previously, to test parser and check the generated HTML, we write AsciDoc
input and expected HTML output using literal string `...`.
The text of input and output sometimes long, take multiple lines, which
makes the test code ugly, hard to write, and read.
Using lib/test.Data we can write the input and output as the AsciiDoc
markup and the HTML markup as is, simplify writing the test and more
readable.
|
|
This changes replace any use of io/ioutil with os package.
|
|
This release changes the license of asciidoctor-go from BSD to GPL 3.0 or
later.
=== 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 used 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.
|
|
|
|
|
|
|
|
The latest update on share v0.25.1 remove the last boolean parameter
on lib/test.Assert().
|
|
While at it, increase the minimum Go version from 1.13 to 1.15
|
|
Support the new improvement on test.Assert() function.
|
|
|
|
This is the first commit that can parser whole document line by line
and provide convertion to HTML.
Things that does not working: inline style, table, passthrough,
dynamic attributes, include.
|