aboutsummaryrefslogtreecommitdiff
path: root/test/src/markdown
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-10-13 14:35:00 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-10-13 14:35:00 +0400
commit498448826d8762add15a524097e91e96b545a631 (patch)
tree6b50a8ac8b679e08521810b80a881d812081818b /test/src/markdown
parent9f0ff55b5f126c31b6d8f3cd28907e5b87601e28 (diff)
downloaddokka-498448826d8762add15a524097e91e96b545a631.tar.gz
dokka-498448826d8762add15a524097e91e96b545a631.tar.bz2
dokka-498448826d8762add15a524097e91e96b545a631.zip
Parse directives in the form of {directive params}. Parse colons in text.
Diffstat (limited to 'test/src/markdown')
-rw-r--r--test/src/markdown/ParserTest.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/src/markdown/ParserTest.kt b/test/src/markdown/ParserTest.kt
index 20b95625..201708c6 100644
--- a/test/src/markdown/ParserTest.kt
+++ b/test/src/markdown/ParserTest.kt
@@ -21,6 +21,10 @@ public class ParserTest {
runTestFor("text and string")
}
+ Test fun textWithColon() {
+ runTestFor("text and string: cool!")
+ }
+
Test fun link() {
runTestFor("text [links]")
}
@@ -80,6 +84,10 @@ number two
runTestFor("*text*")
}
+ Test fun directive() {
+ runTestFor("A text {code with.another.value} with directive")
+ }
+
Test fun emphAndEmptySection() {
runTestFor("*text* \$sec:")
}