MarkdownOptions
io.worxbend.tui.widgets.MarkdownOptions
final case class MarkdownOptions(tableOverflow: TableOverflow = ..., lexers: Seq[Lexer] = ..., listIndent: Int = ..., bullets: Seq[String] = ..., taskDone: String = ..., taskOpen: String = ...)
Behaviour and glyph knobs for Markdown; MarkdownOptions() is exactly the document the bare constructor draws.
Value parameters
- bullets
-
the unordered-list marker per nesting level, cycling when a list nests deeper than the sequence is long
- lexers
-
the lexers a fenced code block's info string is resolved against, first match wins; a fence no lexer claims renders verbatim in the
codestyle. Append your own Lexer to Lexer.builtIn to teach fences a language. - listIndent
-
columns of indentation per nesting level of a list
- tableOverflow
-
what a too-wide table cell does — see TableOverflow
- taskDone
-
the glyph a checked task item (
- [x]) draws in place of its bullet - taskOpen
-
the glyph an unchecked task item (
- [ ]) draws in place of its bullet
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article