Skip to content

Commit

Permalink
Fix formatting in Lit README (#7985)
Browse files Browse the repository at this point in the history
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
  • Loading branch information
delucis and natemoo-re committed Aug 7, 2023
1 parent 1283cfd commit ec06dd9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/dirty-peaches-rescue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@astrojs/lit": patch
---

Fix formatting in Lit README
6 changes: 5 additions & 1 deletion packages/integrations/lit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ customElements.define('my-element', MyElement);
Now, the component is ready to be imported via the Astro frontmatter:

```astro
// src/pages/index.astro import {MyElement} from '../components/my-element.js';
---
// src/pages/index.astro
import { MyElement } from '../components/my-element.js';
---
<MyElement />
```

Expand Down

0 comments on commit ec06dd9

Please sign in to comment.