Cover mode

Covered content (using #uncover, #one-by-one, #item-by-item, or #show: later) is completely invisible, by default. You can decide to make it visible but less prominent using the optional mode argument to each of those functions. The mode argument takes two kinds of values: hide (the default) or any color. When using a color as the mode, text is printed in that color.

Use it as follows:

#uncover(3, mode: gray)[abc]

#one-by-one(start: 2, mode: gray)[def ][ghi]

#item-by-item(mode: gray)[
  - jkl
  - mno
]

#show: later.with(mode: gray)
pqr

resulting in

cover

Warning! The "color mode" really only wraps the covered content in a

#text(fill: mode)[...]

so it has only limited control over the actual display. Especially

  • text that defines its own color (e.g. syntax highlighting),
  • visualisations,
  • images

will not be affected by that. This makes the color mode only somewhat useful today. (Relevant GitHub issue)