aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/format
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2016-07-06 14:13:29 +0200
committerDmitry Jemerov <yole@jetbrains.com>2016-07-06 14:13:29 +0200
commitb5367f295be47f2f6ad26f113d80362102b6c36d (patch)
tree0b31472c3c7222b414da3f9ff4a2b9ad5f2313dd /core/testdata/format
parentc0064d2b43ec30237d0d39bf5a9aaa4ce5e14744 (diff)
downloaddokka-b5367f295be47f2f6ad26f113d80362102b6c36d.tar.gz
dokka-b5367f295be47f2f6ad26f113d80362102b6c36d.tar.bz2
dokka-b5367f295be47f2f6ad26f113d80362102b6c36d.zip
don't lose exclamation marks in code blocks (KT-13000)
Diffstat (limited to 'core/testdata/format')
-rw-r--r--core/testdata/format/exclInCodeBlock.kt5
-rw-r--r--core/testdata/format/exclInCodeBlock.md8
2 files changed, 13 insertions, 0 deletions
diff --git a/core/testdata/format/exclInCodeBlock.kt b/core/testdata/format/exclInCodeBlock.kt
new file mode 100644
index 00000000..62b234dd
--- /dev/null
+++ b/core/testdata/format/exclInCodeBlock.kt
@@ -0,0 +1,5 @@
+/**
+ * The magic word is `!`
+ */
+fun foo() {
+}
diff --git a/core/testdata/format/exclInCodeBlock.md b/core/testdata/format/exclInCodeBlock.md
new file mode 100644
index 00000000..9c9e424a
--- /dev/null
+++ b/core/testdata/format/exclInCodeBlock.md
@@ -0,0 +1,8 @@
+[test](test/index) / [foo](test/foo)
+
+# foo
+
+`fun foo(): Unit`
+
+The magic word is `!`
+