Companion

object Companion

Functions

Link copied to clipboard
inline fun define(noinline scope: (NodeType) -> Boolean? = null, block: HighlightStyleBuilder.() -> Unit): HighlightStyle

Define a HighlightStyle using a DSL builder.

fun define(specs: List<TagStyleSpec>, scope: (NodeType) -> Boolean? = null): HighlightStyle

Create a HighlightStyle from a list of tag→style specs.