Skip to content

yaml codeblocks are not displayed correctly  #224

Open
@joelostblom

Description

@joelostblom

When I create a codeblock with a yaml snippet, I have noticed that vim-pandoc-syntax hides the first few lines. I need to introduce a blank line either above or below the leading --- to display the entire codeblock in vim. However, this introducing an unnecessary blank line in the rendered code block, so it would be nice if something like the sample below, was displayed correctly.

---
object:
    key: value
    array:
        - null_value:
        - boolean: true
        - integer: 1
---

For me, when I place the this snippet in a .md file with at least one blank line above it, only - integer: 1 is displayed.

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