Skip to content

Detect math blocks that are children of list items #351

Open
@bertin0

Description

@bertin0

If I have a math block that is indented so that it is a child of a list item, pandoc treats it accordingly, but vim-pandoc doesn't recognize that it's a math block and so it doesn't enable syntax highlighting:
For example, this math block doesn't get highlighted, but pandoc treats it as latex:

1.  Test

    $$
        f(x) &=x\\
    $$

Just realised this is an issue in vim-pandoc-syntax, sorry

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions