Skip to content

Commit

Permalink
Attempt to fix hiding of attribute described in markdown. (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
brettle authored Nov 18, 2024
1 parent 22d0852 commit 0b0d0cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/guides/getting-started/going-further.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Now if we look in the HTML output for any of our pages, we will see pre-rendered
</app-footer>
```

We can go one step further and instruct Greenwood to strip out the `<script>` tags for these components by adding the `data-gwd-opt="static"` attribute to them, since we have no need for any interactivity on these components.
We can go one step further and instruct Greenwood to strip out the `<script>` tags for these components by adding the `data-gwd-opt='static'` attribute to them, since we have no need for any interactivity on these components.

```html
<script type="module" src="../components/footer/footer.js" data-gwd-opt="static"></script>
Expand Down

0 comments on commit 0b0d0cd

Please sign in to comment.