diff --git a/src/test/java/com/elovirta/dita/markdown/MDitaReaderCoreTest.java b/src/test/java/com/elovirta/dita/markdown/MDitaReaderCoreTest.java index 5f803a7..d3278fd 100644 --- a/src/test/java/com/elovirta/dita/markdown/MDitaReaderCoreTest.java +++ b/src/test/java/com/elovirta/dita/markdown/MDitaReaderCoreTest.java @@ -35,6 +35,7 @@ public String getSrc() { "conref.md", "entity.md", "escape.md", + "example.md", "html.md", "image.md", "inline_core.md", diff --git a/src/test/java/com/elovirta/dita/markdown/MDitaReaderExtendedTest.java b/src/test/java/com/elovirta/dita/markdown/MDitaReaderExtendedTest.java index 25a6a4f..f510ce6 100644 --- a/src/test/java/com/elovirta/dita/markdown/MDitaReaderExtendedTest.java +++ b/src/test/java/com/elovirta/dita/markdown/MDitaReaderExtendedTest.java @@ -41,6 +41,7 @@ public String getSrc() { "dl.md", "entity.md", "escape.md", + "example.md", "footnote.md", "header_attributes.md", "invalid_section_header.md", diff --git a/src/test/resources/markdown/example.md b/src/test/resources/markdown/example.md new file mode 100644 index 0000000..7b9b220 --- /dev/null +++ b/src/test/resources/markdown/example.md @@ -0,0 +1,11 @@ +# Example + +Shortdesc. + +## Example section {.example} + +Example content. + +## Example section { .example } + +Example content. \ No newline at end of file diff --git a/src/test/resources/xdita/example.dita b/src/test/resources/xdita/example.dita new file mode 100644 index 0000000..60218a3 --- /dev/null +++ b/src/test/resources/xdita/example.dita @@ -0,0 +1,16 @@ + + + Example + Shortdesc. + +
+ Example section {.example} +

Example content.

+
+
+ Example section { .example } +

Example content.

+
+ +