aboutsummaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-02-06 16:41:39 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-02-06 16:41:39 +0100
commitb78e3bb6c7d689bc1650088096461e687ee6441f (patch)
tree176944af6f9042a44a172d08485d236b64ffb465 /test/data
parent0e76eed8d9fee675542d35f525ff9e8ab6408857 (diff)
downloaddokka-b78e3bb6c7d689bc1650088096461e687ee6441f.tar.gz
dokka-b78e3bb6c7d689bc1650088096461e687ee6441f.tar.bz2
dokka-b78e3bb6c7d689bc1650088096461e687ee6441f.zip
handle code spans in markdown
Diffstat (limited to 'test/data')
-rw-r--r--test/data/format/codeSpan.html13
-rw-r--r--test/data/format/codeSpan.kt4
2 files changed, 17 insertions, 0 deletions
diff --git a/test/data/format/codeSpan.html b/test/data/format/codeSpan.html
new file mode 100644
index 00000000..37bb62f0
--- /dev/null
+++ b/test/data/format/codeSpan.html
@@ -0,0 +1,13 @@
+<HTML>
+<HEAD>
+<title>test / foo</title>
+</HEAD>
+<BODY>
+<a href="out.html">test</a>&nbsp;/&nbsp;<a href="out.html"></a>&nbsp;/&nbsp;<a href="out.html">foo</a><br/>
+<br/>
+<h1>foo</h1>
+<pre><code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></pre><p>This is a <code>code span</code>.</p>
+<br/>
+<br/>
+</BODY>
+</HTML>
diff --git a/test/data/format/codeSpan.kt b/test/data/format/codeSpan.kt
new file mode 100644
index 00000000..645f454a
--- /dev/null
+++ b/test/data/format/codeSpan.kt
@@ -0,0 +1,4 @@
+/**
+ * This is a `code span`.
+ */
+fun foo() {} \ No newline at end of file