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 code style. 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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product