diff options
Diffstat (limited to 'test/src/TestAPI.kt')
-rw-r--r-- | test/src/TestAPI.kt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/src/TestAPI.kt b/test/src/TestAPI.kt index d6c7efb7..4d64014e 100644 --- a/test/src/TestAPI.kt +++ b/test/src/TestAPI.kt @@ -72,6 +72,12 @@ fun StringBuilder.appendNode(node: ContentNode): StringBuilder { append(node.text) } is ContentEmphasis -> append("*").appendChildren(node).append("*") + is ContentBlockCode -> { + appendln("[code]") + appendChildren(node) + appendln() + appendln("[/code]") + } is ContentNodeLink -> { append("[") appendChildren(node) |