Skip to content

Wrongly setting syntax by VIM modelines in Markdown code block #30

Description

@jfcherng

This is a Markdown file but ASS sets it to YAML because there is # vim: set ft=yaml: in the code block.

file.md

## File.md

Here's a YAML example.

```yaml
# vim: set ft=yaml:
# ^^^^^^^^^^^^^^^^^ the above line make ASS set syntax to YAML

key: value
```

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions