Skip to content

Markdown mode: should empty lines (with spaces) escape block lists? #2595

@kevinushey

Description

@kevinushey

For example, in the following two screenshots, the header state is disallowed because the tokenizer interprets the indentation as a continuation of a block:

screen shot 2015-07-13 at 10 43 17 am

screen shot 2015-07-13 at 10 43 22 am

Should a list-block be escaped when there is only whitespace?

"listblock" : [ { // Lists only escape on completely blank lines.
token : "empty_line",
regex : "^$",
next : "start"
}, { // list

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions