The following settings use built-in DITA2Go macros to surround paragraphs in the designated formats with code to produce the link and expanding block:
[HTMLParaStyles]
; Paragraph format = DropDown, DropDownLink, DropDownBlock,
; DropDownStart, or DropDownEnd.
or, for the link, to surround character spans:
[HTMLCharStyles]
; Character format = DropDownLink, DropDownStart
Which format properties to assign depends on the type of link and arrangement of material to be expanded:
To expand a single-paragraph block using a DITA2Go-inserted link:
[HTMLParaStyles]
BlockFormat = DropDown
To use an existing paragraph for the link, and a single paragraph for the block:
[HTMLParaStyles]
LinkFormat = DropDownLink
BlockFormat = DropDownBlock
To make a single- or multiple-paragraph drop-down block start right after the link paragraph:
[HTMLParaStyles]
LinkFormat = DropDownStart
BlockEndFormat = DropDownEnd
If you use empty paragraphs for BlockEndFormat, assign format property Raw to the format:
[HTMLParaStyles]
BlockEndFormat = DropDownEnd Raw
Format property Raw is needed only if you are using an empty paragraph to delimit the drop-down block.
Table 16-2 shows the effects of these format properties.