Skip to content

Incorrectly detects pandoc markdown files as liquid #18

@dylan-chong

Description

@dylan-chong

Markdown files for use with pandoc can start with a YAML header, which starts with ---. This causes this plugin to think that the filetype is liquid.

Example document:

---
title: ENGR401 Assignment 1
author:
    - Dylan
date: \today{}
toc: false
---

# Introduction

Content

See line https://github.com/tpope/vim-liquid/blob/master/ftdetect/liquid.vim#L7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions