summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris Swithinbank <swithinbank@gmail.com> 2023-08-07 20:03:09 +0200
committerGravatar GitHub <noreply@github.com> 2023-08-07 20:03:09 +0200
commitec06dd9bbb29cc38e891517fbf884cb7083b3240 (patch)
tree3c3e93ea9dcccc08215b0f1104597308786d0698
parent1283cfd19f4106ff98133ba2262cc5963e6d6815 (diff)
downloadastro-ec06dd9bbb29cc38e891517fbf884cb7083b3240.tar.gz
astro-ec06dd9bbb29cc38e891517fbf884cb7083b3240.tar.zst
astro-ec06dd9bbb29cc38e891517fbf884cb7083b3240.zip
Fix formatting in Lit README (#7985)
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Diffstat (limited to '')
-rw-r--r--.changeset/dirty-peaches-rescue.md5
-rw-r--r--packages/integrations/lit/README.md6
2 files changed, 10 insertions, 1 deletions
diff --git a/.changeset/dirty-peaches-rescue.md b/.changeset/dirty-peaches-rescue.md
new file mode 100644
index 000000000..d188a8745
--- /dev/null
+++ b/.changeset/dirty-peaches-rescue.md
@@ -0,0 +1,5 @@
+---
+"@astrojs/lit": patch
+---
+
+Fix formatting in Lit README
diff --git a/packages/integrations/lit/README.md b/packages/integrations/lit/README.md
index c1abaa292..00f27be12 100644
--- a/packages/integrations/lit/README.md
+++ b/packages/integrations/lit/README.md
@@ -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 />
```