summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG30
-rw-r--r--asciidoctor.go2
-rw-r--r--testdata/document_tohtml_test.txt4
3 files changed, 31 insertions, 5 deletions
diff --git a/CHANGELOG b/CHANGELOG
index f1d8dae..dd66e08 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -4,13 +4,39 @@
Shulhan <ms@kilabit.info>
:toc:
:sectlinks:
+:four-strips: ----
+
+[#v0_7_0]
+== asciidoctor-go v0.7.0 (2025-04-18)
+
+[NEW FEATURE] **Support include directive inside block code**.
+
+Example of block code with include directive,
+
+....
+----
+...
+include::file[]
+...
+----
+....
+
+[NEW FEATURE] **Support document attribute "docdir"**
+
+The "docdir" attribute contains the full path of the directory that
+contains the source document.
+By default it is set to the directory where the Document resided.
+
+[NEW FEATURE] **Add default HTML stylesheet.**
+
+The generated HTML now contains the default stylesheet.
+The stylesheet is copied from HTML file generated by Asciidoctor v2.0.23.
[#v0_6_2]
== asciidoctor-go v0.6.2 (2025-02-01)
-[BUG FIX]
-Fix section detected as paragraph after list and comment.
+[BUG FIX] **Fix section detected as paragraph after list and comment.** +
Previously, given the following markup,
----
* Sub list
diff --git a/asciidoctor.go b/asciidoctor.go
index c894409..7aa9eb3 100644
--- a/asciidoctor.go
+++ b/asciidoctor.go
@@ -11,7 +11,7 @@ import "git.sr.ht/~shulhan/pakakeh.go/lib/math/big"
const (
// Version of this module.
- Version = `0.6.2`
+ Version = `0.7.0`
_lf = "\n"
)
diff --git a/testdata/document_tohtml_test.txt b/testdata/document_tohtml_test.txt
index 65b1d7a..fc29e25 100644
--- a/testdata/document_tohtml_test.txt
+++ b/testdata/document_tohtml_test.txt
@@ -22,7 +22,7 @@ Document body.
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
-<meta name="generator" content="asciidoctor-go 0.6.2">
+<meta name="generator" content="asciidoctor-go 0.7.0">
<meta name="description" content="Multiline description with backslash">
<meta name="keywords" content="multiline, key, words">
<meta name="author" content="John Doe">
@@ -72,7 +72,7 @@ Section 2 content.
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
-<meta name="generator" content="asciidoctor-go 0.6.2">
+<meta name="generator" content="asciidoctor-go 0.7.0">
<meta name="author" content="John Doe">
<title>Title</title>
</head>