Zettelmarkup: Block-Structured Elements

Every markup for blocks-structured elements (“blocks”) begins at the very first position of a line.

There are five kinds of blocks: lists, one-line blocks, line-range blocks, tables, and paragraphs.

Lists

In Zettelmarkup, lists themselves are not specified, but list items. A sequence of list items is considered as a list.

Description lists contain two different item types: the term to be described and the description itself. These cannot be combined with other lists.

Ordered lists, unordered lists, and quotation lists can be combined into nested lists.

One-line blocks

Line-range blocks

This kind of blocks encompass at least two lines. To be useful, they encompass more lines. They begin with at least three identical characters at the first position of the beginning line. They end at the line, that contains at least the same number of these identical characters, beginning at the first position of that line. This allows line-range blocks to be nested. Additionally, all other blocks elements are allowed in line-range blocks.

Tables

Similar to lists are tables not specified explicitly. A sequence of table rows is considered a table. A table row itself is a sequence of table cells.

Paragraphs

Any line that does not conform to another blocks-structured element begins a paragraph. This has the implication that a mistyped syntax element for a block element will be part of the paragraph. For example:

= Heading
Some text follows.

will be rendered in HTML as

= Heading Some text follows.

This is because headings need at least three equal sign character.

A paragraph is essentially a sequence of inline-structured elements. Inline-structured elements cam span more than one line. Paragraphs are separated by empty lines.

If you want to specify a second paragraph inside a list item, or if you want to continue a paragraph on a second and more line within a list item, you must begin the paragraph with a certain number of space characters. The number of space characters depends on the kind of a list and the relevant nesting level.

A line that begins with a space character and which is outside of a list or does not contain the right number of space characters is considered to be part of a paragraph.
https://zettelstore.de/manual/h/00001007030000
zettelstore.de
CC-MAIN-2024-22
6780
application/http; msgtype=response
sha1:HCHOVVUOWPDOY4MTBUMEXPCXZYEMJJTC
<urn:uuid:62cd98ac-8968-4e05-9460-85a102cd6a77>
2024-05-28T19:47:35Z
217.160.171.109
text/html
sha1:QF2WGS7KGK2Z5RQLPT2TCFNI42L36Z2P
<urn:uuid:1f39a490-1b72-4a32-a4b6-43a22efcacda>
https://zettelstore.de/manual/h/00001007030000
response
<urn:uuid:7e590f5c-3288-4975-84bc-1039b5daf1bb>
isPartOf: CC-MAIN-2024-22
publisher: Common Crawl
description: Wide crawl of the web for May 2024
operator: Common Crawl Admin (info@commoncrawl.org)
hostname: ip-10-67-67-211
software: Apache Nutch 1.19 (modified, https://github.com/commoncrawl/nutch/)
robots: checked via crawler-commons 1.5-SNAPSHOT (https://github.com/crawler-commons/crawler-commons)
format: WARC File Format 1.1
conformsTo: https://iipc.github.io/warc-specifications/specifications/warc-format/warc-1.1/