Skip to content

Subheader without a newline is not detected #391

Open
@fenuks

Description

@fenuks

Hello, for file

# Bug report
## Description

Description header is not detected.

# Workaround

## Description
Add an empty line before the header.

vim-pandoc-syntax conceals it to
conceal.

This problem was introduced in 634d830. That change fixes incorrect detection of headers in the middle of paragraphs, but is a bit too strict.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions