Skip to main content

Module code

Module code 

Source
Expand description

code: source code set in a panel, syntax-highlighted, optionally typed on with a caret, with line numbers, highlighted lines and window chrome. It expands into a component of ordinary nodes: the code is one text node whose colors are inline spans, so it stays editable and sharp.

Constants§

LANGUAGES
PARAMS
Params a code instance keeps (the rest are consumed at expansion).

Functions§

build
used_by