Support for inter-document cross-references in Markdown

This commit is contained in:
Hugo de Paix de Coeur
2016-02-11 14:38:54 +01:00
parent 8233565b6b
commit 050f600598
2 changed files with 6 additions and 3 deletions

View File

@@ -105,9 +105,9 @@ public class MarkupDocBuilderTest {
.unorderedList(Arrays.asList("Entry1", "Entry2", "Entry 2"))
.anchor("anchor", "text").newLine()
.anchor(" \u0240 µ&|ù This .:/-_# ").newLine()
.crossReferenceAnchor("./document.adoc", "anchor", "text").newLine()
.crossReferenceAnchor("./document.md", "anchor", "text").newLine()
.crossReferenceAnchor(" \u0240 µ&|ù This .:/-_ ").newLine()
.crossReference("./document.adoc", "anchor", "text").newLine()
.crossReference("./document.md", "anchor", "text").newLine()
.crossReference(" \u0240 µ&|ù This .:/-_ ").newLine()
.writeToFile("build/tmp", "test", StandardCharsets.UTF_8);
}