-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals
Regular template literals would be very nice for stuff like logging, so that you can basically have stuff like:
…
-
As of right now, template literals are modeled after ECMAScript, e.g.:
```
export component Foo {
bar: string
return `
Hello ${bar}
`
}
```
Imho this causes two problems:
1. …
-
I started a list of potential ECMAScript proposals and this was on my list 😄.
I think the README does a pretty good job of explaining why this feature is necessary. However, I had a different synta…
-
Pre-requisites:
- [Template literals & tagged letrals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals): write your own template parser:
- simple interpolation
…
-
## Problem
Most of the css is written within template literals, which is not minified in the build step at the moment.
This adds a lot of unnecessary whitespace and bytes, which can be reduced by …
-
Related to many template, template instantiation, and DOM parts discussions (but especially https://github.com/WICG/webcomponents/issues/777, https://github.com/WICG/webcomponents/issues/682, and http…
-
I suggest we reconsider syntax option because with syntax, we just solve #75.
There are also other reasons, copy from original issue:
One problem of current template literal is, you can't have u…
-
The following code should be properly highlighted, but is not. Removing the generic type will cause the string to be highlighted again.
```ts
const { data } = await sql`
select
toStartOfIn…
-
Hello i am Frank Lemanschik i would love to take over your npm package name tagged-template-literals for my project tag-template-literals
Its a collection with helpers and examples how to use tagge…
-
Sometimes I have code in a string:
```js
const js = `
const msg = 'this doesnt have any language server features';
console.log(msg);
`
```
There is a vscode extension that allows syntax…