class markdown::ListItem

sys::Obj
  markdown::Node
    markdown::Block
      markdown::ListItem

@Js

Source

List item

contentIndent

Int? contentIndent

Source

The indent of the content in columns (spaces or tab stop of 4) if available or null otherwise. The content indent is counted from the beginning of the line and includes the marker on the first line

  • - Foo (content indent: 2)
  • - Foo (content indent: 3)
  • 1. Foo (content indent: 5)

Note that subsequent lines in the same list item need to be indented by at least the content indent to be counted as part of the list item.

make

new make(Int? markerIndent, Int? contentIndent)

Source

markerIndent

Int? markerIndent

Source

The indent of the marker such as - or 1. in columns (spaces or tab stop of 4) if available, or null otherwise.

  • - Foo (marker indent: 0)
  • - Foo (marker indent: 1)
  • 1. Foo (marker indent: 2)