aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/Model
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/src/main/kotlin/Model
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/src/main/kotlin/Model')
-rw-r--r--core/src/main/kotlin/Model/Content.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Model/Content.kt b/core/src/main/kotlin/Model/Content.kt
index 0a38a524..fcf94c12 100644
--- a/core/src/main/kotlin/Model/Content.kt
+++ b/core/src/main/kotlin/Model/Content.kt
@@ -82,7 +82,8 @@ class ContentEmphasis() : ContentBlock()
class ContentStrong() : ContentBlock()
class ContentStrikethrough() : ContentBlock()
class ContentCode() : ContentBlock()
-class ContentBlockCode(val language: String = "") : ContentBlock()
+open class ContentBlockCode(val language: String = "") : ContentBlock()
+class ContentBlockSampleCode(language: String = "kotlin") : ContentBlockCode(language)
abstract class ContentNodeLink() : ContentBlock() {
abstract val node: DocumentationNode?