!cue.highlight
A wash drawn across a run of canvas words from one anchor to another.
On this page


#Attributes
inWhen the wash is drawn across the words: a step (
1), a time on the scene's clock (1.5s) or a step with an offset (1 + 500ms). !cue.h:2{the gradient} marks the words from step 2.Can be written as shorthand:
!cue.highlight:valueDefault
0outWhen the wash is drawn back off the words, the way it came, 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.
paintAlso written:
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)#Notes
- It marks words in a paragraph, heading or list in a scene's detail. In a table cell, an image caption or a mark's label the words are shown unmarked.
- Presence is untouched: the words are there before and after.
- Plain words take the wash's text colour while marked; words coloured with a colour micronode keep theirs.
- Written in a scene's body it is refused:
'!cue.highlight' is not allowed in the narrative; colour, highlighting and symbols belong in the canvas.