summaryrefslogtreecommitdiff
path: root/testdata/document_tohtml_test.txt
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-09-07 16:47:04 +0700
committerShulhan <ms@kilabit.info>2024-09-07 16:47:04 +0700
commitd7214a14e994bea65eab6620689708484b9c45e7 (patch)
treed75253753f33494b5c345b3de9976ad97dac69ae /testdata/document_tohtml_test.txt
parent6d1232efffd9dc14b34bd9c44a38473b85e7c0d8 (diff)
downloadasciidoctor-go-0.6.0.tar.xz
Release asciidoctor-go v0.6.0 (2024-09-07)v0.6.0
=== Breaking changes * all: rename struct "AttributeEntry" to "DocumentAttribute" This is to make the struct is clear that it represent the document attribute. * all: rename struct "AttributeEntry" to "DocumentAttribute" This is to make the struct is clear that it represent the document attribute. * all: refactoring DocumentAttribute into struct Using struct limit the value to only string, while some attributes can be an integer value, for example "leveloffset". === New features * all: support document attribute "leveloffset" The ":leveloffset:" on document attribute allow increment or decrement the heading level on included files. Reference: https://docs.asciidoctor.org/asciidoc/latest/directives/include-with-leveloffset/ === Enhancements * all: use strict document header format Previously, an empty line before Document Title cause the parser stop parsing the document header, now an empty lines are skipped. Also document attribute can be place anywhere, either before or after title, and in between attributes; now it can be only placed after revision or author or title. * all: remove unnecessary TrimRight Each lines to be parsed has been trimmed on the first load, so there is no need to do it again, on some cases.
Diffstat (limited to 'testdata/document_tohtml_test.txt')
-rw-r--r--testdata/document_tohtml_test.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/testdata/document_tohtml_test.txt b/testdata/document_tohtml_test.txt
index c72dd25..bd50046 100644
--- a/testdata/document_tohtml_test.txt
+++ b/testdata/document_tohtml_test.txt
@@ -21,7 +21,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.5.2">
+<meta name="generator" content="asciidoctor-go 0.6.0">
<meta name="description" content="Multiline description with backslash">
<meta name="keywords" content="multiline, key, words">
<meta name="author" content="John Doe">
@@ -70,7 +70,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.5.2">
+<meta name="generator" content="asciidoctor-go 0.6.0">
<meta name="author" content="John Doe">
<title>Title</title>
</head>