aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/format/indentedCodeBlock.html
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-10-27 03:46:49 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-11-02 17:59:50 +0300
commite9ab5d88150323067672661d37f8d7f8b146311d (patch)
treed2528af6c367fc0e22bb9c2cf2009c801cc8c1ea /core/testdata/format/indentedCodeBlock.html
parentd6d320eb13a24fb8e70df0ba11effabe429f0fd4 (diff)
downloaddokka-e9ab5d88150323067672661d37f8d7f8b146311d.tar.gz
dokka-e9ab5d88150323067672661d37f8d7f8b146311d.tar.bz2
dokka-e9ab5d88150323067672661d37f8d7f8b146311d.zip
#228: Correctly render multiline indented code blocks
Fix #228
Diffstat (limited to 'core/testdata/format/indentedCodeBlock.html')
-rw-r--r--core/testdata/format/indentedCodeBlock.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/core/testdata/format/indentedCodeBlock.html b/core/testdata/format/indentedCodeBlock.html
new file mode 100644
index 00000000..1ccf800a
--- /dev/null
+++ b/core/testdata/format/indentedCodeBlock.html
@@ -0,0 +1,17 @@
+<HTML>
+<HEAD>
+<meta charset="UTF-8">
+<title>foo - test</title>
+</HEAD>
+<BODY>
+<a href="test/index">test</a>&nbsp;/&nbsp;<a href="test/foo">foo</a><br/>
+<br/>
+<h1>foo</h1>
+<a name="$foo()"></a>
+<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>
+<p>Create a new Foo value as follows:</p>
+<pre><code> val foo = Foo.create {
+ type { "ABC" }
+ }</code></pre>
+</BODY>
+</HTML>