!cue.highlight
Marks a run of words in a paragraph, heading or list on the canvas: when in fires, a wash is drawn across the words, and at out it is drawn back the way it came. Plain words take the highlight’s text colour while they are marked; words already coloured with a colour micronode keep theirs. The inline form of cue.highlight, for pointing at a phrase rather than a whole mark. Presence is untouched, so the words are there before and after. Canvas-only: written in a scene’s narrative, it is a compile error. in is the implicit attribute, so !cue.h:2{the gradient} marks the words from step 2 to the end of the scene. In a table cell, a caption or a mark’s label the words are shown without the mark.
!cue.highlightAliases:cue.h

#Attributes
inWhen the wash is drawn: a step index (1), a time (1.5s), or a step with an offset (1 + 500ms).
Can be written as shorthand:
!cue.highlight:valueDefault
0outWhen the wash is drawn back off the words, in the same forms as
in. Left as none, the words stay marked for the rest of the scene.Default
nonein-durationHow long the wash takes to be drawn across the words.
Also written:
durationDefault
500msout-durationHow long the wash takes to be drawn back.
Default
500mscolourThe wash’s colour. Left out, it takes the colour of the words it marks, and is yellow on plain text.
bluelight-bluedark-blueredlight-reddark-redorangelight-orangedark-orangeyellowlight-yellowdark-yellowteallight-tealdark-tealgreenlight-greendark-greenpinklight-pinkdark-pinkpurplelight-purpledark-purplegreylight-greydark-greyneutralhex(…)rgb(…)coloreasingShape of the draw in and out:
smooth or linear.linearsmoothDefault
smooth#Allowed content
Body { }Inline Chalk content (formatted text, inline math, links, and inline elements)
#Examples
The !cue.h:1{gradient} is the rise over the run.- !cue.h{!teal{f(x)}}(in: 2; out: 3) climbs
- !cue.h:3{!orange{g(x)}} falls# Where !cue.highlight{the curves meet}(in: 2 + 500ms; duration: 1s; colour: blue)