-
Notifications
You must be signed in to change notification settings - Fork 0
Syntax Compatibility #73
Copy link
Copy link
Open
Labels
meta threadSpec and Draft but in several comments. Mostly this kind of issue are locked to keep it clean.Spec and Draft but in several comments. Mostly this kind of issue are locked to keep it clean.
Metadata
Metadata
Assignees
Labels
meta threadSpec and Draft but in several comments. Mostly this kind of issue are locked to keep it clean.Spec and Draft but in several comments. Mostly this kind of issue are locked to keep it clean.
Templating
✅ HTML
✅ XHTML
❌ JSX (JavaScript)
❌ templ (Go) 1
❔ Laravel Blade (PHP)
✅ Django (Python)
✅ ERB (Ruby)
✅
html/template(Hugo|Go) 2❌ WebC (11ty|JavaScript)
✅ Tera (Zola|Rust)
✅ Eta / EJS (JavaScript)
✅ Liquid
✅ Jinja / Nunjucks / ...
✅ Svelte (JavaScript)
❌ Vue (JavaScript)
❔ Astro (JavaScript)
❔ Angular (JavaScript)
Processor
✅ Lambda Soup (Soupault|OCaml)
❔ parse5 (JavaScript)
✅ lxml (Python)
❔ lol-html (Rust, HTMLRewriter|JavaScript)
Workaround
html/template: most likely work on native mode but it's best to use namespace mode [^1]Footnotes
Currently templ only support attr with prefix
@_:a-z(source). Looking at their git history, seems they open for changes 🤔 ↩Go standard html templating sanitize attribute value except attribute name with namespace or data- prefix. The sanitizer may break the micro-syntax. For example,
.value="prop.count~>my.count"may transform into.value="prop.count~>my.count"🤔 ↩