Skip to content

Commit 38a395d

Browse files
author
Ed Heltzel
committed
added html support
1 parent 6a74538 commit 38a395d

File tree

3 files changed

+23
-7
lines changed

3 files changed

+23
-7
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Change Log
22
All notable changes to the "jekyll-snippets" extension will be documented in this file.
33

4+
## V 0.8.0 _(04-21-2017)_
5+
* added HTML support due to odd behavior from other extensions not recognizing Liquid
6+
47
## V 0.7.0 _(04-06-2017)_
58
* removed single quote from include snippet
69

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,29 @@
11
# <a href="http://jekyllrb.com" title="Jekyll" target="_blank"><img src="http://jekyllrb.com/img/logo-2x.png" atl="Jekyll Logo" width="250"></a> snippets package for Visual Studio Code.
22

33
Jekyll snippets for Visual Studio Code. This is a combination of both the the [sublime-jekyll package](https://github.com/23maverick23/sublime-jekyll)
4-
by [@23maverick23.](https://github.com/23maverick23) and the [atom-jekyll package](https://atom.io/packages/jekyll-snippets) by [@jasonhodges](https://github.com/jasonhodges).
4+
by [@23maverick23.](https://github.com/23maverick23) and the [atom-jekyll package](https://atom.io/packages/jekyll-snippets) by [@jasonhodges](https://github.com/jasonhodges).
55

6-
## Liquid and Markdown Support
6+
## HTML, Liquid, and Markdown Support
77

88
If you are downloading the extension for the first time you'll be prompted that the [Liquid Languages Support](https://marketplace.visualstudio.com/items?itemName=neilding.language-liquid) will also be installed. This happens because of the `extensionDependencies` which elminates the need to manaully fetch another extension, which was referenced in issue [#3](https://github.com/ginfuru/vscode-jekyll-snippets/issues/3) by @graffen.
99

1010
Markdown support has also been added which was referenced in issue [#7](https://github.com/ginfuru/vscode-jekyll-snippets/issues/7) by @Haroenv. I haven't found a markdown grammer file that highlights liquid syntax
1111

12-
### Why do you need it?
12+
HTML support has benen added due to some odd behave from extenions I use which doesn't provide support `liquid`
13+
14+
### Why you might want liquid extension?
1315

1416
1. ✔ Provides syntax highlighing for your liquid tags.
1517
2. ✔ Provides liquid extension and support.
16-
* By changing your `HTML` syntax to `HTML(Liquid)` will allow this extension/snippets to work as expected. My reasoning for doing this is/was to prevent clutter and possible conflicts with other snippets inside of IntelliSense/autocomplete. _(Who really likes scrolling through and selecting the wrong autocomplete by mistake?)_ `¯\_(ツ)_/¯`
18+
* ~~By changing your `HTML` syntax to `HTML(Liquid)` will allow this extension/snippets to work as expected. My reasoning for doing this is/was to prevent clutter and possible conflicts with other snippets inside of IntelliSense/autocomplete. _(Who really likes scrolling through and selecting the wrong autocomplete by mistake?)_~~ `¯\_(ツ)_/¯`
19+
3. ✔ Provide syntax highlighting for liquid tags - ie: `{{ site.baseurl }}` & `{% for something in this_file %} {% endfor %}`
20+
* By changing your `HTML` syntax to `HTML(Liquid)`
1721

1822

1923
If you think this should work with vanilla HTML and Markdown let me know with an issue or create a pull-request with a fix. _(I personally don't see a need because, I enjoy the syntax highlighting)_
2024

2125
## Roadmap & Contributing
2226

23-
I do have plans to continue adding more snippets, based on the [Jekyll Tips Cheat Sheet](http://jekyll.tips/jekyll-cheat-sheet/), but **PLEASE** feel free to contribute and/or file issues with requests. If you do want to contribute please make sure to create a feature branch and when creating a pull request to rebase or squash prior to.
27+
I do have plans to continue adding more snippets, based on the [Jekyll Tips Cheat Sheet](http://jekyll.tips/jekyll-cheat-sheet/), but **PLEASE** feel free to contribute and/or file issues with requests. If you do want to contribute please make sure to create a feature branch and when creating a pull request to rebase or squash prior to.
2428

2529
> ##### Thanks again to [@23maverick23.](https://github.com/23maverick23) and [@jasonhodges](https://github.com/jasonhodges)

package.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vscode-jekyll-snippets",
3-
"version": "0.7.0",
3+
"version": "0.8.0",
44
"publisher": "ginfuru",
55
"displayName": "Jekyll Snippets",
66
"description": "Jekyll snippets for Visual Studio Code",
@@ -34,6 +34,10 @@
3434
"language": "liquid",
3535
"path": "./snippets/liquid.json"
3636
},
37+
{
38+
"language": "html",
39+
"path": "./snippets/liquid.json"
40+
},
3741
{
3842
"language": "markdown",
3943
"path": "./snippets/liquid.json"
@@ -42,5 +46,10 @@
4246
},
4347
"extensionDependencies": [
4448
"neilding.language-liquid"
45-
]
49+
],
50+
"__metadata": {
51+
"id": "7891ba3a-fe11-4e55-bf8f-21479bed022c",
52+
"publisherId": "e4159f93-1b6e-4dd8-b879-3bc62c30dad0",
53+
"publisherDisplayName": "ginfuru"
54+
}
4655
}

0 commit comments

Comments
 (0)