Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ECorreia45 committed Oct 14, 2024
1 parent 106531f commit eb3b4a3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/documentation/templating/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ The `childNodes` will give you and array of top level Nodes rendered by the temp
const temp = html`
Loose text
<p>a paragraph</p>
<button> click me</button>
<button>click me</button>
ending
`.render(document.body)

Expand All @@ -155,12 +155,11 @@ The `unmount` should be the only way you go about removing the template from the
Conveniently, you can get a string representation of your template in its current rendered state.
```javascript
const temp = html`
Loose text
<p>a paragraph</p>
<button> click me</button>
<button>click me</button>
ending
`.render(document.body)

Expand Down

0 comments on commit eb3b4a3

Please sign in to comment.