Renderer for [[collapsible]]...[[/collapsible]] blocks.
Wikidot's collapsible markup produces a two-state widget: a "folded"
state showing a "show" link and an "unfolded" state showing the
content plus a "hide" link. Toggle behavior is handled at runtime
by the collapsible runtime module.
This renderer outputs the full DOM structure for both states, with
visibility controlled via inline display styles based on the
start-open flag. The "hide" link can appear at the top, bottom,
or both positions.
Renderer for
[[collapsible]]...[[/collapsible]]blocks.Wikidot's collapsible markup produces a two-state widget: a "folded" state showing a "show" link and an "unfolded" state showing the content plus a "hide" link. Toggle behavior is handled at runtime by the
collapsibleruntime module.This renderer outputs the full DOM structure for both states, with visibility controlled via inline
displaystyles based on thestart-openflag. The "hide" link can appear at the top, bottom, or both positions.