2. add

Parameter syntax:

'before'|'after' [ implicit_selection ]? S [ argument_node ]?

Adds argument node before or after selected node. If the grammar forbids to do so, tries the same operation with the parent of selected node. If the grammar forbids to do so, tries the same operation with the grand-parent of selected node and so on.

Examples:

add after[implicitElement] para
add before #template(figure,image)

See also addBlockInFlow.