Nova

Extensions


Readme

Liquid for Nova 🌊

A Nova extension that provides syntax highlighting and code completion for Liquid template markup and Jekyll custom tags and filters.

Language Support 📚

This extension adds supports for:

  • Native Liquid tags and filters
  • Specific Jekyll tags and filters

Code completion is still in early stages, and your help is appreciated!


Changelog

Version 1.2

New:

  • Liquid on Markdown and Liquid on CSS/SCSS You can now use Liquid in your Markdown, CSS and SCSS files.

To do:

  • Liquid for Nova still doesn't figure out automatically if you're writing Liquid on Markdown and CSS files. I plan to look further in file matches and detectors to fix this issue.

Version 1.2.1

Fixes:

  • Removes the experimental detectors for Liquid on SCSS, CSS and Markdown. I still can't figure it out how make them work.

Version 1.2.2

Chores:

  • Updates extension icon.

Version 1.2.3

Fixes:

  • Adds detectors for Liquid on CSS, SCSS and Markdown files.

Version 1.2.3-1

Chores:

  • Updates changelog.

Version 1.2.4

Fixes:

  • Fixes an issue with Markdown (Liquid) detector that activated in all cases.

Version 1.2.5

Ongoing:

  • Removes detectors for Liquid subsyntaxes other than HTML, since they do not provide the quality I'm aiming for as of yet.

Version 1.1

New:

  • v1.1 brings Completions! Liquid for Nova now supports code completions for both Liquid and Jekyll tags and filters.

Version 1.1.1

Chores:

  • Fixes the extension image, broken in the 1.1 release.
  • Updates the CHANGELOG with a new, leaner organization.

Version 1.1.2

Fixes:

  • Fixes a capture completion which generated an invalid syntax.
  • Prevents Nova to spell-check the {% comment %} tag.

Version 1.0

Initial release

Version 1.0.1

Fixes:

  • Removes YAML block, since that didn't worked.
  • Improves Liquid tag support in Nova 4.0+.

Version 1.0.2

Enhancements:

@fifty8 made the following enhancements:

  • Modified priority of html to 0.5 (value is valid between 0-1) (#1) (also a bugfix).
  • Added content matching rule for liquid handlebar (#1).

Version 1.0.3

Fixes:

  • Fix an issue where all .html files were identified as Liquid files (#2).

License

MIT License

Copyright (c) 2023 Arthur Freitas

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.