Snippets are an incredibly powerful way to quickly generate commonly needed code syntax from a shortcut.
The idea is that you can type something like variable
and then press the Tab key and it will expand into {{ variable }}
.
You can see all available snippets in the snippets readme.
To add your own snippets, select the Sublime > Tools > Developer > New Snippet... menu option if you're using macOS.
To install these snippets on macOS, open the folder ~/Library/Application Support/Sublime Text 3/Packages/User/, create a new folder called language-nunjucks and copy the snippets into the folder.
This repository is maintained by Simon Whatley. If you’ve got a question or need support you can:
- Email support@humanedesign.co putting the repository name in the subject line.
- View known issues on GitHub.
If you’ve got an idea or suggestion you can:
- Email contribute@humanedesign.co putting the repository name in the subject line.
- Create a GitHub issue.
Unless otherwise stated, this codebase is released under the MIT License. This covers both the codebase and any sample code in the documentation.
Thanks goes to Rob Moggach.