diff --git a/README.md b/README.md index 4018e14..9e0e8f5 100644 --- a/README.md +++ b/README.md @@ -138,6 +138,7 @@ document.body.append(html` > > [**re**htm](.) creates [HTML templates](https://www.w3schools.com/tags/tag_template.asp) for any string literal and reuses them > when possible. The following elements are all constructed from the same template: +> > ```js > html`
Hellow ${'World'}
` > html`
Hellow ${'Welt'}
` @@ -213,7 +214,9 @@ tmpl.create('Jack')
-> 💡 `html` template tag also creates templates and uses `.create()` method to generate elements. It caches each template based on its string parts, and reloads the same template the next time it comes upon the same string bits. +> **NOTE** +> +> `html` template tag also creates templates and uses `.create()` method to generate elements. It caches each template based on its string parts, and reloads the same template the next time it comes upon the same string bits.