You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
803 B
45 lines
803 B
////
|
|
Included in:
|
|
|
|
- user-manual: Open Blocks
|
|
////
|
|
|
|
The most versatile block of all is the open block.
|
|
|
|
.Open block syntax
|
|
[source]
|
|
----
|
|
include::ex-open.adoc[tag=base]
|
|
----
|
|
|
|
.Result: Open block
|
|
====
|
|
include::ex-open.adoc[tag=base]
|
|
====
|
|
|
|
An open block can act as any other block, with the exception of _pass_ and _table_.
|
|
Here's an example of an open block acting as a sidebar.
|
|
|
|
.Open block masquerading as a sidebar syntax
|
|
[source]
|
|
----
|
|
include::ex-open.adoc[tag=sb]
|
|
----
|
|
|
|
.Result: Open block masquerading as a sidebar
|
|
====
|
|
include::ex-open.adoc[tag=sb]
|
|
====
|
|
|
|
This is an open block acting as a source block.
|
|
|
|
.Open block masquerading as a source block syntax
|
|
[source]
|
|
----
|
|
include::ex-open.adoc[tag=src]
|
|
----
|
|
|
|
.Result: Open block masquerading as a source block
|
|
====
|
|
include::ex-open.adoc[tag=src]
|
|
====
|
|
|