Skip to content

ObsidianQuirkFlags.listItem

ObsidianQuirkFlags › listItem

Type: 'commonmark' | 'obsidian'

How list items are structured. CommonMark: an ordered marker has at most nine digits, an item whose first line is empty has its content a column after its marker and ends at a blank line, a line indented less than an item's content ends it, and a marker indented four or more columns opens no item. Obsidian: an ordered marker has any number of digits; an item whose first line is empty has its content right after its marker, and a blank line does not end it; a line indented more than four columns, though less than the item's content, continues the item; and a marker of the same list indented less than the item's content opens the next item, however far it is indented.