aboutsummaryrefslogtreecommitdiff
path: root/core/testdata/format/website
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-08 20:21:15 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-14 14:06:29 +0300
commitaf81d5a311125fc30dcf9c14fc9bd9c8680e532b (patch)
treec4e299cddad96b00880a9f31f2969f4f7ed2a964 /core/testdata/format/website
parentd8be364a89ab7d9f38196ef17d0d4eb1d9659b48 (diff)
downloaddokka-af81d5a311125fc30dcf9c14fc9bd9c8680e532b.tar.gz
dokka-af81d5a311125fc30dcf9c14fc9bd9c8680e532b.tar.bz2
dokka-af81d5a311125fc30dcf9c14fc9bd9c8680e532b.zip
Now all sample blocks in kotlin-website wrapped in <div class="sample" markdown="1">...</div>
And small refactoring
Diffstat (limited to 'core/testdata/format/website')
-rw-r--r--core/testdata/format/website/overloadGroup.md2
-rw-r--r--core/testdata/format/website/sample.md6
2 files changed, 6 insertions, 2 deletions
diff --git a/core/testdata/format/website/overloadGroup.md b/core/testdata/format/website/overloadGroup.md
index 81cb7822..d81f86bf 100644
--- a/core/testdata/format/website/overloadGroup.md
+++ b/core/testdata/format/website/overloadGroup.md
@@ -31,4 +31,4 @@ Spell ID for future casts
**Return**
Spell ID for future casts
-</div> \ No newline at end of file
+</div>
diff --git a/core/testdata/format/website/sample.md b/core/testdata/format/website/sample.md
index 1a683da7..374303c0 100644
--- a/core/testdata/format/website/sample.md
+++ b/core/testdata/format/website/sample.md
@@ -14,6 +14,8 @@ layout: api
Groups elements of the original sequence by the key returned by the given <a href="#">keySelector</a> function
applied to each element and returns a map where each group key is associated with a list of corresponding elements.
+<div class="sample" markdown="1">
+
``` kotlin
if (true) {
println(property)
@@ -22,8 +24,10 @@ if (true) {
</div>
+</div>
+
<div class="overload-group" markdown="1">
<div class="signature"><code><span class="keyword">fun </span><span class="identifier">foo</span><span class="symbol">(</span><span class="parameterName" id="$foo(kotlin.Int)/i">i</span><span class="symbol">:</span>&nbsp;<span class="identifier">Int</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Int</span></code></div>
-</div> \ No newline at end of file
+</div>