summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-02-12 13:33:56 +0700
committerShulhan <ms@kilabit.info>2023-02-12 13:38:20 +0700
commit5b83f6228897c3a7f24fa7b60cb30310bb5f2dcf (patch)
treeca34f1caa2e84c449beb1adb2e4f0e0538f5f679
parent511b22c4f4d46e5ece3d346d15b11d54edf25a0e (diff)
downloadasciidoctor-go-0.4.0.tar.xz
Release asciidoctor-go v0.4.0 (2023-02-12)v0.4.0
=== 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
-rw-r--r--_doc/CHANGELOG.adoc75
-rw-r--r--asciidoctor.go2
2 files changed, 76 insertions, 1 deletions
diff --git a/_doc/CHANGELOG.adoc b/_doc/CHANGELOG.adoc
index ec00396..9bd5401 100644
--- a/_doc/CHANGELOG.adoc
+++ b/_doc/CHANGELOG.adoc
@@ -8,6 +8,81 @@ Shulhan <ms@kilabit.info>
:sectlinks:
+[#v0_4_0]
+== asciidoctor-go v0.4.0 (2023-02-12)
+
+[#v0_4_0_new_features]
+=== New features
+
+all: add support for document attribute "last-update-label"::
++
+--
+By default the last-update-label value set to "Last updated" and the value is
+the document modification time.
+
+If the label is suppressed with "!", no "Last updated" will be print on the
+footer.
+--
+
+
+all: implement inline macro for passthrough ("pass:")::
++
+--
+The inline passthrough "pass:" can be used to control the substitutions
+applied to a run of text.
+
+Ref: https://docs.asciidoctor.org/asciidoc/latest/pass/pass-macro/
+--
+
+
+all: implement macro "footnote:"::
++
+--
+Macro footnote grammar,
+
+----
+"footnote:" [ REF_ID ] "[" STRING "]"
+----
+
+In asciidoctor, footnote can be placed anywhere, even after WORD without
+space in between.
+
+The REF_ID, define the unique ID for footnote and can be used to reference
+the previous footnote.
+The first footnote with REF_ID, should have the STRING defined.
+The next footnote with the same REF_ID, should not have the STRING
+defined; if its defined, the STRING is ignored.
+--
+
+
+[#v0_4_0_bug_fixes]
+=== 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::
++
+--
+The meta tags from original asciidoctor are ordered as viewport, generator,
+description, keywords, and then author.
+
+While at it remove empty style tag due to when testing we use empty.css not
+"stylesheet!".
+--
+
+
+[#v0_4_0_enhancements]
+=== Enhancements
+
+all: support multi line attribute values::
++
+If the attribute value end with backslash '\\', the value continue to the
+next line.
+
+
[#v0_3_2]
== asciidoctor-go v0.3.2 (2022-09-05)
diff --git a/asciidoctor.go b/asciidoctor.go
index 12942c0..d97f78c 100644
--- a/asciidoctor.go
+++ b/asciidoctor.go
@@ -11,7 +11,7 @@ import "github.com/shuLhan/share/lib/math/big"
const (
// Version of this module.
- Version = `0.3.3-dev`
+ Version = `0.4.0`
_lf = "\n"
)