Skip to main content

Module attention

Module attention 

Source
Expand description

The delimiter-run rules a printer needs: flanking and pairing, the parser’s own.

Structs§

Pair
One emphasis / strong / strikethrough node pairs would form: the runs’ indices and its kind.
Run
A * / _ / ~ run as the tokenizer sees it: its marker, length and flanking. Built by Run::new, for pairs on a text a printer is about to emit.

Functions§

classify
Flanking classification, micromark’s attention.js version.
pairs
The nodes the delimiter runs of one inline sequence form, sorted by position.