Skip to content

emanuelen5/vim-jekyll-syntax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Vim syntax highlighting for Jekyll

Additions to Markdown/HTML/XML highlighting to correctly syntax highlight the front matter and Liquid objects/tags in Jekyll posts.

Highlights the following regions:

  • Front matter
  • Liquid tags
  • Liquid objects

Installation

You can just copy the syntax files into your local .vim directory unless you already have conflicting custom syntax highlighting.

$ cp vim-jekyll-syntax/syntax/* ~/.vim/after/syntax

Markdown example that will now highlight correctly

---
# This becomes highlighted like YAML
foo: bar
---

# Markdown
{{ page.foo }}

Contributors

About

Jekyll syntax highlighting for Vim

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •