toggle menu
mordant
common
switch theme
search in API
mordant-markdown
/
com.github.ajalt.mordant.markdown
/
Markdown
Markdown
class
Markdown
(
markdown
:
String
,
showHtml
:
Boolean
=
false
,
hyperlinks
:
Boolean
?
=
null
)
:
Widget
A
Widget
that renders a GitHub Flavored
markdown
string.
Members
Constructors
Markdown
Link copied to clipboard
constructor
(
markdown
:
String
,
showHtml
:
Boolean
=
false
,
hyperlinks
:
Boolean
?
=
null
)
Functions
measure
Link copied to clipboard
open
override
fun
measure
(
t
:
Terminal
,
width
:
Int
)
:
WidthRange
render
Link copied to clipboard
open
override
fun
render
(
t
:
Terminal
,
width
:
Int
)
:
Lines