Chapter 8. Open Blocks

Open blocks are special: they are used to generate document abstracts, book part introductions and more.

[Warning]

Previous version 3, used it to simulate multi columns. Version 4 dropped this behavior. Don’t be afraid, this feature is still possible using the standard Bootstrap classes like .col-md-* and so on.

8.1. Panels

First open block structure is used to implement the Bootstrap Panel Component.

Example 8.1. With primary contextual state class

Panel content


Example 8.2. With success contextual state class

Panel content


Example 8.3. With warning contextual state class

Panel content


See Chapter 9, Panels Bootstrap Component to learn how AsciiDoc-Bootstrap backend implements this feature

8.2. Alerts

Second open block structure is used to implement the Bootstrap Alert Component.

Example 8.4. With info contextual state class

This alert needs your attention, but it’s not super important.


Example 8.5. With success contextual state class

You successfully read this important alert message.


Example 8.6. With warning contextual state class

Better check yourself, you’re not looking too good.


See Chapter 10, Alerts Bootstrap Component to learn how AsciiDoc-Bootstrap backend implements this feature