An open API service indexing awesome lists of open source software.

https://github.com/james2doyle/sublime-liquid

A collection of syntaxes and completions for Liquid (and Shopify) templates
https://github.com/james2doyle/sublime-liquid

liquid shopify sublime syntax-highlighting

Last synced: 3 months ago
JSON representation

A collection of syntaxes and completions for Liquid (and Shopify) templates

Awesome Lists containing this project

README

        

# Liquid Sublime

> A collection of syntaxes and completions for Liquid (and Shopify) templates

### Why?

*How is this different from [braver/sublime-liquid](https://github.com/braver/sublime-liquid)?*

- Better highlighting, overall
- More completions
- Line and block comments
- Highlights `{% javascript %}` (as JS), `{% stylesheet %}` (as SCSS), `{% schema %}` (as JSON), and `{% raw %}` (as "nothing")
- Proper scoping for snippets (no liquid completions showing up in other files)

![Demo of the highlighting](demo.png)

### Usage

*With Git*

- `cd $HOME/Library/Application\ Support/Sublime\ Text\ 3/Packages`
- `git clone https://github.com/james2doyle/sublime-liquid`

*With Package Control*

- "Package Control > Add Repository"
- https://github.com/james2doyle/sublime-liquid
- "Package Control > Install Package"
- Install "sublime-liquid" package

### TODOs

- [x] comments
- [x] tag completions
- [x] filter completions
- [x] `javascript`, `stylesheet`, `schema`, `raw` highlighting
- [x] Variable Symbols
- [ ] publish on Package Control