Dialect

The rules and readers of the WikiLayer markdown dialect.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Every callout class the dialect can report, in sorted order.

Link copied to clipboard

Every marker that can open a dialect construct, in sorted order.

Link copied to clipboard

Every node-reference scheme the dialect can report, in sorted order.

Functions

Link copied to clipboard
fun parser(): Parser

Creates a commonmark parser with the extensions and source spans the dialect requires.

Link copied to clipboard

Returns the reader-visible words in a markdown document.

Link copied to clipboard
fun recognise(source: String): List<Found>

Returns dialect constructs in document order.

Link copied to clipboard
fun scheme(destination: String): String?

Returns the dialect scheme at the start of a destination, when present.