go-org-orgwiki/org/testdata/lists.org
Niklas Fasching 724cf6c23e Support list items with empty first line
also dismiss implementing ordered list bullet overrides for now, e.g.
1. [@10] foo

add it once someone needs it - for now it seems like needless complexity
2018-12-19 17:40:47 +01:00

1.5 KiB

  • unordered list item 1
  • list item with empty first and second line
    normally an empty line breaks the list item - but we make an exception for the first line and don't count it towards that limit
  • unordered list item 2 - with inline markup

    1. ordered sublist item 1

      1. ordered sublist item 1
      2. ordered sublist item 2
      3. ordered sublist item 3
    2. ordered sublist item 2
    3. list item with empty first and second line - see above
  • unordered list item 3 - and a link and some lines of text

    1. and another subitem

      echo with a block
    2. and another one with a table

      a b c
      1 2 3

      and text with an empty line in between as well!

  • unordered list item 4

    with an example
    
    that spans multiple lines
    

descriptive lists

term
details continued details
?
details without a term
term
details on a new line
term

details on a new line (with an empty line in between) continued

echo "Hello World!"

some list termination tests

  • unordered 1
  • unordered 2
  1. ordered 1
  2. ordered 2
  1. ordered 1
  2. ordered 2
  • unordered 1
  • unordered 2
  1. ordered 1
  2. ordered 2
unordered descriptive
1
unordered descriptive
2
ordered descriptive
1
ordered descriptive
2
  • unordered 1
  • unordered 2