Repository navigation
fix: #870 list parse error - #964
Conversation
Since the task list and the bullet list have been distinguished, they are two lists, so a blank line should be inserted between them. |
The problem with this is that it's against CommonMark and GFM when saving the document wrong. It's fine that we distinguish between bullet and task list in preview mode but when saving we should be compatible to markdown specification. We can fix this like CommonMark 0.28 264 helper in |
When we output markdown, unless the user chooses to beautify the markdown, we should restore the state of the markdown entered by the user. This is a basic principle. But now the problem is, we don't know, is there a blank line between the bullet list and task list in the original markdown? |
* fix: marktext#870 list parse error * remove semiclon * add more comments * rename isTaskListItem to isTaskList

Description
Because we distinguish between task list and bullet list in Mark Text, the parsing here is somewhat different from the
commonmark Spec, and the task list needs to be a separate list.