- From: R3D_C⊙DE <notifications@github.com>
- Date: Thu, 29 Jun 2023 04:09:55 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 29 June 2023 11:10:02 UTC
@tbondwilkinson I've started to write a template engine, and I decided to use this format:
1. `${}`, which is familiar format in JS, and can be used everywhere
```html <template>Hello, ${ name }</template>
```
2. $[], for partial templates
```html
$[ extends "base.html" ]
$[ header ]
$[ content ]
<template id="header">
<h1>${ title }</h1>
</template>
```
--
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/999#issuecomment-1612914439
You are receiving this because you are subscribed to this thread.
Message ID: <WICG/webcomponents/issues/999/1612914439@github.com>
Received on Thursday, 29 June 2023 11:10:02 UTC