All Projects → clarete → templatel

clarete / templatel

Licence: GPL-3.0 license
Jinja inspired template language for Emacs Lisp

Programming Languages

emacs lisp
2029 projects
Makefile
30231 projects

Projects that are alternatives of or similar to templatel

Tera
A template engine for Rust based on Jinja2/Django
Stars: ✭ 1,873 (+3971.74%)
Mutual labels:  template-engine, jinja2
voldemort
A simple static site generator using Jinja2 and Markdown templates.
Stars: ✭ 48 (+4.35%)
Mutual labels:  template-engine, jinja2
liquidpy
A port of liquid template engine for python
Stars: ✭ 49 (+6.52%)
Mutual labels:  template-engine, jinja2
Cookie
A Template-based File Generator. Like cookiecutter but works with file templates instead of project templates.
Stars: ✭ 261 (+467.39%)
Mutual labels:  template-engine, jinja2
Jinja
A very fast and expressive template engine.
Stars: ✭ 8,170 (+17660.87%)
Mutual labels:  template-engine, jinja2
Redzone
Lightweight C++ template engine with Jinja2-like syntax
Stars: ✭ 30 (-34.78%)
Mutual labels:  template-engine, jinja2
Jinja2cpp
Jinja2 C++ (and for C++) almost full-conformance template engine implementation
Stars: ✭ 257 (+458.7%)
Mutual labels:  template-engine, jinja2
Jingoo
OCaml template engine almost compatible with jinja2
Stars: ✭ 86 (+86.96%)
Mutual labels:  template-engine, jinja2
jinja.dart
Jinja2 template engine port for Dart.
Stars: ✭ 38 (-17.39%)
Mutual labels:  template-engine, jinja2
modulor-html
Missing template engine for Web Components
Stars: ✭ 36 (-21.74%)
Mutual labels:  template-engine
apprise-ga
GitHub Action to send a dynamic push notification to every single platform thanks to the Apprise library
Stars: ✭ 18 (-60.87%)
Mutual labels:  jinja2
pyLODE
An OWL ontology documentation tool using Python and templating, based on LODE
Stars: ✭ 116 (+152.17%)
Mutual labels:  jinja2
esh
Simple templating engine based on shell.
Stars: ✭ 165 (+258.7%)
Mutual labels:  template-engine
nene
Nēnē: A no-frills static site generator
Stars: ✭ 22 (-52.17%)
Mutual labels:  jinja2
HTML-templating-with-Google-Apps-Script
Use data from your spreadsheets to build a webpage or a client-side app ✨
Stars: ✭ 55 (+19.57%)
Mutual labels:  template-engine
django-tex
A simple Django app to render LaTeX templates and compile them into PDF files.
Stars: ✭ 68 (+47.83%)
Mutual labels:  jinja2
Context
WordPress package to build a "context" (based on a query object) suiteable to be bassed to templates..
Stars: ✭ 18 (-60.87%)
Mutual labels:  template-engine
flask-tweeeter
A full-stack Twitter clone made using the Flask framework for Python 🐦
Stars: ✭ 28 (-39.13%)
Mutual labels:  jinja2
carbone
Fast and simple report generator, from JSON to pdf, xslx, docx, odt...
Stars: ✭ 810 (+1660.87%)
Mutual labels:  template-engine
Prinder
Free Pull Request reminder for Github. Has configurations to post reminders to Slack and email along with jinja templating
Stars: ✭ 21 (-54.35%)
Mutual labels:  jinja2

https://github.com/clarete/templatel/workflows/CI/badge.svg

https://melpa.org/packages/templatel-badge.svg

templatel

A modern templating language for Emacs-Lisp. Inspired on Jinja, templatel brings a high level language for expanding variables with conditional and loop control flow structures.

Documentation

How does it look like

<h1>{{ title }}</h1>
<ul>
  {% for user in users %}
    <li><a href="{{ user.url }}">{{ user.name }}</a></li>
  {% endfor %}
</ul>

That can be rendered with the following Emacs Lisp code:

(templatel-render-file "tmpl.html.jinja"
                       '(("title" . "A nice web page")
                         ("users" . ((("url" . "https://clarete.li")
                                      ("name" . "link"))
                                     (("url" . "https://gnu.org")
                                      ("name" . "Gnu!!"))))))

The rendered code would look like this:

<h1>A nice web page</h1>
<ul>
  <li><a href="https://clarete.li">link</a></li>
  <li><a href="https://gnu.org">Gnu!!</a></li>
</ul>
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].