Skip to main content

Module highlight

Module highlight 

Source
Expand description

Jot Syntax highlighting for the content pane. The jots parser is the authority on which constructs exist (cuj SPEC §2.1 delegates rendering to the Jot Syntax implementation): construct spans come from the parser’s byte-offset loc fields, and tag / category occurrences — which carry no locs in the parser output — are located by scanning the text for the parsed names. Raw text is never rewritten; only styling is added.

Structs§

Rendered
A jot’s content prepared for display.

Functions§

render
Highlight text under a profile’s parser configuration.