Skip to content
Metanorma

Blocks

Information that forms a logical segment, such as a paragraph or a list, is called a block. Most blocks start and end with a delimiter which is a matching sequence of characters. The delimiters tell the compiler that the text they contain belongs together.

Examples for different blocksadoc
I'm a paragraph and I don't need a block delimiter.
<1>
. I'm a list item and also do not need a delimiter
. I'm the second list item
. I'm list item number three
//// <2>
I'm a comment.
////
[source, python] <3>
----
print("Hello World!")
----

There are many types of blocks in AsciiDoc, such as:

  • Paragraphs
  • Lists
  • Tables
  • Images
  • Admonitions (Note, Caution, Warning, etc.)
  • Examples
  • Code samples
  • Mathematic formulas
  • Term definitions
  • Comments
  • Reviewer Notes

Edit this page on GitHub →