diff options
author | Simon Ogorodnik <sem-oro@yandex.ru> | 2016-11-29 15:53:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-29 15:53:53 +0300 |
commit | 37cbd962b7493aef63067a9f6b7f4abbaa56bc80 (patch) | |
tree | 9535169caa2899dab75417b0b788f1ec341b4b0b /core/testdata/format/website/sample.md | |
parent | edda34b73bbbd9537eb499668c47a7a901b284c2 (diff) | |
parent | 875e7e5e39c6c1668729685bbc7f51bc07aed4b6 (diff) | |
download | dokka-37cbd962b7493aef63067a9f6b7f4abbaa56bc80.tar.gz dokka-37cbd962b7493aef63067a9f6b7f4abbaa56bc80.tar.bz2 dokka-37cbd962b7493aef63067a9f6b7f4abbaa56bc80.zip |
Merge pull request #111 from Kotlin/website-samples
Tweaked output for kotlin-website samples feature
Diffstat (limited to 'core/testdata/format/website/sample.md')
-rw-r--r-- | core/testdata/format/website/sample.md | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/core/testdata/format/website/sample.md b/core/testdata/format/website/sample.md index 1a683da7..203f1b02 100644 --- a/core/testdata/format/website/sample.md +++ b/core/testdata/format/website/sample.md @@ -14,16 +14,25 @@ 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 + +fun main(args: Array<String>) { +//sampleStart if (true) { println(property) } +//sampleEnd +} ``` </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> <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> |