function markdown:next_char
execute if data storage markdown: str{1:"-"} run return run function markdown:document/dash/_
execute if data storage markdown: str{1:" "} run return run function markdown:paragraph/list/unordered/

execute if data storage markdown: {paragraph_type:text} if data storage markdown: str{1:"\n"} run return run function markdown:paragraph/header/suffix/header_2
execute if data storage markdown: {paragraph_type:text} unless data storage markdown: str.1 run return run function markdown:paragraph/header/suffix/header_2

return run function markdown:document/fallback