Closed rundel closed 3 years ago
The same thing seems to also occur with code blocks:
> parse_md("1. ```\n foo\n ```\n", character())
md_block_doc [flags:]
└── md_block_ol [start: 1, tight: 1, mark_delimiter: '\001']
└── md_block_li
└── md_block_code [info: '', lang: '', fence_char: '`']
├── md_text_code - "foo"
└── md_text_code - "\n"
Good catch. Should be fixed now.
Similar and possibly related to #153 but this seems to affect both unordered and ordered lists. Returned value for both types appears to be
\001
,\002
, etc corresponding to the header level.See examples below: