Obsidian block IDs let a whole block be linked to from elsewhere. Append ^identifier to the end of a block’s last line, where the identifier is one or more ASCII letters, digits, or hyphens preceded by whitespace; the marker is removed from the rendered text, and the block gets an id attribute that includes the caret. See Link to a block in a note.
$ comrak -e ofm-block-ids -t commonmark -t xml
Some paragraph text
Some paragraph text
Some paragraph text
$ comrak -e ofm-block-ids -t commonmark -t xml
Title
Title
Title
$ comrak -e ofm-block-ids -t commonmark -t xml
A blockquote
A blockquote
A blockquote
$ comrak -e ofm-block-ids -t commonmark -t xml
- -
- a
- b
a
b
- -
a
b
$ comrak -e ofm-block-ids -e table -t commonmark -t xml
| A | B |
|---|---|
| x | y |
A
B
x
y
A
B
x
y
$ comrak -e ofm-block-ids -t commonmark -t xml
one ^first two
one ^first
two
one ^first
two