All notable changes to the "vscode-nunjucks-syntax" extension will be documented in this file.
Check Keep a Changelog for recommendations on how to structure this file.
- updates screenshots and better organization of README file
- Resolves issue #21 - fix front-matter pattern naming and improve syntax highlighting in nunjucks.tmLanguage.json
Thank you to:
- ReduxFlakes for reporting this issue.
- gasatrya for confirming the issue.
- RedCMD for pointing out the solution.
- fixes description for 11ty Image snippet
- Snippet update - adds
{% verbatim %}
which was missed previously. See Nunjucks Docs - Verbatim for more info.
- Fixes issue #19 by adding
\A
to assert the start of the file for frontmatter, this ensures that only the frontmatter block at the top of the file is highlighted.
- Adds comment block support to markdown files thanks to PR #18 from cypressSap -- Thanks! 👍
- Adds an empty
[]
value on colorizedBracketPairs to override bracket pair highlighting. To keep coloring of nunjucks tags consistent from theme to theme.
- Fixes issue #12.
- Adds snippets for Eleventy i18n plugins filters - two additional filters.
- Adds snippets for Nunjucks filters - missed some in the beginning.
- Adds snippets for Eleventy/11ty custom tags/shortcodes from plugins (if I missed any please submit a ticket or PR)
- Plugins are generally the core plugins of 11ty.
- Changes
hcomm
tocommenthtml
so that html comments are available in Nunjucks when typingcomment
- Changes
cblock
tocommentblock
so that html comments are available in Nunjucks when typingcomment
- Adds support for 11ty's Custom Frontmatter and Fixes Issue #4
- Adds Nunjucks comment when pressing the keybinding
ctrl+/
orcmd+/
inside of Nunjucks or HTML files - Adds
hcomm
to snippets to includes HTML comments in the event that a users wants to add an HTML style comment.
- fixes broken images on marketplace.
-
Initial Public Release
-
Snippets – All the snippets are a gathered collection from other extensions, with the addition of custom snippets for front matter and all the tags from Nunjucks Docs. Most of the other snippets did not include every Nunjucks tags.
- Snippets are available/work in
.njk
,.nunjucks
,.html
, and.md
files
- Snippets are available/work in
-
Syntax highlighting support uses injection for auto detection of grammar. Any
njk
file is auto detected ashtml
and adds syntax sugar for all Nunjucks built-in tags, filters, variables.- no need to do any
files.association
oremmet.includeLanguage
- no need to do any
-
Syntax highlighting is also supported for
Nunjucks
grammar selection.- auto detection defaults to
html
but selectingnunjucks
will still provide the same html highlight with nunjucks tag highlighting, but you will have to includeemmet.includeLanguage
to enable emmet support, if you choose this option.
- auto detection defaults to
- Initial release