!highlight
A tinted band behind a run of canvas text.
On this page
#Attributes
colourThe band's colour: one of the nine hues, or
neutral for a dark band with the text set light on it.paintAlso written:
colorCan be written as shorthand: !highlight:valueDefault
yellow#Allowed content
Body { }Inline Chalk content (formatted text, inline math, links, and inline elements)
#Examples
table{
Term | Meaning
!h:blue{slope} | rise over run
intercept | value at $x = 0$
}point(x: 2; y: -1; label: ==minimum==)#Notes
==text==is the shorthand for the default yellow.- Canvas-only: anywhere in a scene's narrative, shorthand included, it is a compile error (
narrative/canvas-only-micronode): '!highlight' (or ==…==) is not allowed in the narrative; colour, highlighting and symbols belong in the canvas. - A
light-ordark-tone, or ahex(…)orrgb(…)literal, compiles and draws no band. - In a mark's
label:every highlight is drawn yellow, whatever its colour. - Words marked from one step to another, and plain before and after, are
!cue.highlight.