Sidebar Blocks
A sidebar is a short piece of text presented outside the narrative flow of the main text. The sidebar is normally presented inside a bordered box to set it apart from the main text.
.An Example Sidebar ************************************************ Any AsciiDoc SectionBody element (apart from SidebarBlocks) can be placed inside a sidebar. ************************************************
Renders:
You may also used the attribute role
to control padding and rounded corners.
With well-sm role:
.An Example Sidebar [role="well-sm"] **** Any AsciiDoc SectionBody element (apart from SidebarBlocks) can be placed inside a sidebar. ****
Renders:
With well-lg role:
.An Example Sidebar [role="well-lg"] **** Any AsciiDoc SectionBody element (apart from SidebarBlocks) can be placed inside a sidebar. ****
Renders:
Open Blocks
Open blocks are special: they are used to generate document abstracts, book part introductions and more.
.col-md-*
and so on.Panels
First open block structure is used to implement the Bootstrap Panel Component.
primary
contextual state classPanel title
Panel content
success
contextual state classPanel title
Panel content
warning
contextual state classPanel title
Panel content
Learn how AsciiDoc-Bootstrap backend implements this feature.
Alerts
Second open block structure is used to implement the Bootstrap Alert Component.
info
contextual state classHeads up!
This alert needs your attention, but it’s not super important.
success
contextual state classWell done!
You successfully read this important alert message.
warning
contextual state classWarning!
Better check yourself, you’re not looking too good.
Learn how AsciiDoc-Bootstrap backend implements this feature.