All Projects → eseom → nunjucks-template

eseom / nunjucks-template

Licence: other
This is a vscode extension for nunjucks template language which is also available to all Jinja style templates

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to nunjucks-template

Napalm Salt
Modules for event-driven network automation and orchestration using Salt
Stars: ✭ 116 (+222.22%)
Mutual labels:  jinja2
Aiohttp Jinja2
jinja2 template renderer for aiohttp.web
Stars: ✭ 180 (+400%)
Mutual labels:  jinja2
jinja.dart
Jinja2 template engine port for Dart.
Stars: ✭ 38 (+5.56%)
Mutual labels:  jinja2
Torchbear
🔥🐻 The Speakeasy Scripting Engine Which Combines Speed, Safety, and Simplicity
Stars: ✭ 128 (+255.56%)
Mutual labels:  jinja2
Index.py
An easy-to-use high-performance asynchronous web framework.
Stars: ✭ 158 (+338.89%)
Mutual labels:  jinja2
Yadm
Yet Another Dotfiles Manager
Stars: ✭ 2,982 (+8183.33%)
Mutual labels:  jinja2
Kapitan
Generic templated configuration management for Kubernetes, Terraform and other things
Stars: ✭ 1,383 (+3741.67%)
Mutual labels:  jinja2
pylodon
Flask-based ActivityPub server
Stars: ✭ 86 (+138.89%)
Mutual labels:  jinja2
Dnsmasqweb
基于DNSmasq的DNS解析、以及DHCP地址分配系统
Stars: ✭ 166 (+361.11%)
Mutual labels:  jinja2
Statik
Multi-purpose static web site generator aimed at developers.
Stars: ✭ 249 (+591.67%)
Mutual labels:  jinja2
Home Assistant Config
My Home Assistant Configuration 🏡🏡
Stars: ✭ 133 (+269.44%)
Mutual labels:  jinja2
Ops Cli
Ops - cli wrapper for Terraform, Ansible, Helmfile and SSH for cloud automation
Stars: ✭ 152 (+322.22%)
Mutual labels:  jinja2
Django Webpush
Web Push Notification Package for Django
Stars: ✭ 217 (+502.78%)
Mutual labels:  jinja2
Tera
A template engine for Rust based on Jinja2/Django
Stars: ✭ 1,873 (+5102.78%)
Mutual labels:  jinja2
pelican-alchemy
A ✨ functional, clean, responsive Pelican theme
Stars: ✭ 129 (+258.33%)
Mutual labels:  jinja2
Zenbu
🏮 A Jinja2 + YAML based config templater.
Stars: ✭ 114 (+216.67%)
Mutual labels:  jinja2
Yasha
A command-line tool to render Jinja templates for great good
Stars: ✭ 189 (+425%)
Mutual labels:  jinja2
pymzn
A Python wrapper for the MiniZinc tool pipeline.
Stars: ✭ 54 (+50%)
Mutual labels:  jinja2
Flask movie project
🎬 Flask构建的小花椒视频网站(重新配置 ing……)
Stars: ✭ 15 (-58.33%)
Mutual labels:  jinja2
Staticjinja
Minimalist Python library for building static websites with Jinja
Stars: ✭ 218 (+505.56%)
Mutual labels:  jinja2

nunjucks-template

This is the Nunjucks-supporting extension for vscode with complete features.

feature

  • nunjucks template syntax
  • nunjucks formatter with prettydiff2
  • yaml syntax

configurations

  • By default, detects .nj, .njk files automatically.
  • Additionally, use files.associations

extension's own configurations

"nunjucksTemplate.preserveEmptyLine": 3

(suggested at issue PR #30 by @sdegutis)

other configurations

"files.associations": {
  "*.html": "njk"
},
  • For vscode embedded emmet, notify that njk is html file type
"emmet.includeLanguages": {
  "njk": "html"
},
  • max line length follows standard vscode html.format.wrapLineLength
"html.format.wrapLineLength": 120
"vsicons.associations.files": [
  { "icon": "nunjucks", "extensions": ["njk"], "format": "svg" }
],
"material-icon-theme.files.associations": {
  "*.html": "nunjucks"
},

snippets

Trigger Snippet
n-extends {% extends '${name}' %}
n-block {% block ${name} %}{% endblock %}
n-if {% if condition %}{% endif %}
n-for {% for ${condition} %}{% endfor %}
n-macro {% macro ${name}() %}{% endmacro %}

links

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].