HTML(5)elements StackWrap content in a HTML(5) element, optionally with attributes
With this stack, you can wrap other stacks in a HTML element and optionally add attributes. If you don’t know what that means: please move along, nothing to see here for you. But if you ever do manual coding on a RapidWeaver page, you’ll understand how useful that can be!
The most common elements (including a simple
noscript) and attributes are predefined in the stack, but there’s also the option to use your own, making this stack very versatile. The output of your settings is shown in the info pane of the stack, so no need to switch to source view to check what you’ve done!
DemoBelow are two examples of the use of the HTML(5)elements Stack:
demo #1: most options used (see also fig. 1 and 3)
demo #2: content in a
<code> element (see also fig. 2 and 4)
UsageDrop any items into the dropzone of this stack, choose the element you want to wrap the content in and optionally set one or more attributes. As you can see in fig. 1, the HTML(5)elements Stack also provides two advanced options:
<!-- Start of HTML(5)elements stack v1.0.0 -->) and the end (
<!-- End of HTML(5)elements stack -->) of this stack
<hidden>is selected, the content of this stack will be hidden (except in Edit mode), but still be published!