toggle menu
shake
0.1.0
common
switch theme
search in API
com.shakelang.util.markdown
/
com.shakelang.util.markdown
/
MarkdownContext
Markdown
Context
open
class
MarkdownContext
(
source
)
Inheritors
MutableMarkdownDocument
Members
Constructors
Markdown
Context
Link copied to clipboard
constructor
(
creator
:
MarkdownContext
.
(
)
->
Unit
)
constructor
(
)
Properties
elements
Link copied to clipboard
val
elements
:
MutableList
<
MarkdownElement
>
Functions
bold
Link copied to clipboard
fun
bold
(
creator
:
MarkdownContext
.
(
)
->
Unit
)
:
Boolean
fun
bold
(
elements
:
List
<
MarkdownElement
>
)
:
Boolean
image
Link copied to clipboard
fun
image
(
url
:
String
,
creator
:
MarkdownContext
.
(
)
->
Unit
)
:
Boolean
fun
image
(
text
:
String
,
url
:
String
)
:
Boolean
italic
Link copied to clipboard
fun
italic
(
creator
:
MarkdownContext
.
(
)
->
Unit
)
:
Boolean
fun
italic
(
elements
:
List
<
MarkdownElement
>
)
:
Boolean
link
Link copied to clipboard
fun
link
(
url
:
String
,
creator
:
MarkdownContext
.
(
)
->
Unit
)
:
Boolean
fun
link
(
text
:
String
,
url
:
String
)
:
Boolean
p
Link copied to clipboard
fun
p
(
creator
:
MarkdownContext
.
(
)
->
Unit
)
:
Boolean
fun
p
(
text
:
String
)
:
Boolean
quote
Link copied to clipboard
fun
quote
(
creator
:
MarkdownContext
.
(
)
->
Unit
)
:
Boolean
fun
quote
(
elements
:
List
<
MarkdownElement
>
)
:
Boolean
render
Link copied to clipboard
open
fun
render
(
)
:
String
strikethrough
Link copied to clipboard
fun
strikethrough
(
creator
:
MarkdownContext
.
(
)
->
Unit
)
:
Boolean
fun
strikethrough
(
elements
:
List
<
MarkdownElement
>
)
:
Boolean
text
Link copied to clipboard
fun
text
(
creator
:
MarkdownContext
.
(
)
->
Unit
)
:
Boolean
fun
text
(
text
:
String
)
:
Boolean