diff options
author | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-12-22 20:01:01 +0300 |
---|---|---|
committer | Ilya Ryzhenkov <orangy@jetbrains.com> | 2015-01-13 18:05:10 +0300 |
commit | 1b5f12b79d441bd2c2044e3b04925c4fab6f814b (patch) | |
tree | 97c0ef5aa82b9d6d94b1d502975a83f808584a35 /test/src/TestAPI.kt | |
parent | 75e1f85d92d1a0485983103dd61c46447068c20f (diff) | |
download | dokka-1b5f12b79d441bd2c2044e3b04925c4fab6f814b.tar.gz dokka-1b5f12b79d441bd2c2044e3b04925c4fab6f814b.tar.bz2 dokka-1b5f12b79d441bd2c2044e3b04925c4fab6f814b.zip |
Process directives, implement "code" directive.
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 901e78fc..7d0d3bdd 100644 --- a/test/src/TestAPI.kt +++ b/test/src/TestAPI.kt @@ -73,6 +73,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) |