To create an expanding block when authoring a DITA topic:
- Add an
<xref>
tag with anhref
attribute pointing to theid
of the expanding block. - Set the value for the expanding block's
outputclass
attribute toft-expanding-block-content
.
Example:
The following lines show an example of configuring an expanding block in a DITA topic:
<div><xref href="#./my-expanding-block">Open me!</xref></div>
<div outputclass="ft-expanding-block-content" id="my-expanding-block">The quick brown fox jumps over the lazy dog.</div>
Fluid Topics transforms the previous example into: