kmarkdown
Toggle table of contents
0.2.4
common
Platform filter
common
Switch theme
Search in API
kmarkdown
kmarkdown
/
io.github.devngho.kmarkdown.flavor.common
/
CodeBlock
Code
Block
data
class
CodeBlock
(
val
text
:
String
,
val
language
:
String
?
=
null
)
:
MarkdownElement
Members
Constructors
Code
Block
Link copied to clipboard
constructor
(
text
:
String
,
language
:
String
?
=
null
)
Types
Companion
Link copied to clipboard
object
Companion
:
MarkdownElementDescriptor
<
CodeBlock
>
Properties
descriptor
Link copied to clipboard
open
override
val
descriptor
:
MarkdownElementDescriptor
<
out
MarkdownElement
>
It is a descriptor of the markdown element. It should be MarkdownElementDescriptor<{THIS}>
language
Link copied to clipboard
val
language
:
String
?
=
null
text
Link copied to clipboard
val
text
:
String
Functions
encode
Link copied to clipboard
open
override
fun
encode
(
)
:
String