Skip to content

codeblock adjacent to list item is not recognized #118

Open
@echasnovski

Description

@echasnovski

Example:

- Line starts with dash:
>
 This is not recognized as code block
<

This seems to be a known problem, but there is no issue to track it and for users to consult with.

I tried to fix this, but the assumption that code block is not contiguous to list item seems to be too much entangled in the grammar itself. So looks like it would at least require serious refactor if at all possible.

The current workaround is to have a blank link after list item text block (contiguous lines without blank lines with first starting with list prefix). So this will work:

- Line starts with dash:

>
 This is recognized as code block
<

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions