cvng / jrsx

A clean JSX syntax for your Askama templates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jrsx

CI

A clean JSX syntax for your Askama templates.

Before:
{%- import "hello.html" as hello_scope -%}
{%- import "child.html" as child_scope -%}

{% call hello_scope::hello(name) %}
{% call hello_scope::hello(name=name) %}
{% call hello_scope::hello(name="world") %}
{% call child_scope::child() %}Super!{% endcall %}
After:
<Hello name />
<Hello name=name />
<Hello name="world" />
<Child>Super!</Child>

About

A clean JSX syntax for your Askama templates


Languages

Language:Rust 99.9%Language:HTML 0.1%