New in Zen 4.0.4 and Zen 5.0 (formerly cloak and toggle-cloak)

The disappear and reveal macros allow you to optionally hide content, while providing the reader with a link for toggling the content between hidden and visible states. These macros replace the cloak and toggle-cloak macros from the Composition Plugin, which is not compatible with Zen.

Disappear and Reveal Example

This is example text, demonstrating the use of the zen version of disappear and reveal macros. To see more details, click the header below, which is using the reveal macro.

Click here for more details...


hint: Click on the "Click here..." heading or the arrow

Wiki Markup

{reveal:id=details}Click here for more details...{reveal}

{disappear:id=details}This text is wrapped in the disappear macro, and is toggled between hide and show states when you click the heading above, which uses the reveal macro.{disappear}

Disappear Parameters

Terms in bold are required

Name

Wiki Markup

Default

Description

Id

(unnamed initial parameter - see example markup above)

 

A unique-within-the-page ID with content to be hidden. More than one disappear and reveal can be included per page, but each disappear must have a unique ID; each reveal is tied to a disappear ID.

Visible

visible=

true

If checked, hidden content will be visible when page first loads

Reveal Parameters

Terms in bold are required

Name

Wiki Markup

Default

Description

Id

(unnamed initial parameter - see example markup above)

 

The ID of the hidden content that will be toggled between visible and hidden.