asciidoc-parser 0.19.0

Parser for AsciiDoc format
Documentation
use crate::tests::prelude::*;

track_file!("ref/asciidoc-lang/docs/modules/sections/pages/dedication.adoc");

// Treating the entire file as non-normative because we don't support `doctype`.

non_normative!(
    r#"
= Dedication
:keywords: respect, homage, front matter

A dedication page is used to express gratitude.

== Dedication section syntax

To use the `dedication` section style, the document type must be `book`.
The dedication section must be a level 1 section (`==`), unless the book has parts.

[source]
----
[dedication]
== Dedication

include::example$dedication.adoc[tag=body]
----

If the book has parts, the dedication section must be a level 0 section (`=`).

[source]
----
[dedication]
= Dedication

include::example$dedication.adoc[tag=body]
----
"#
);