diff options
author | 2022-07-28 16:00:11 -0400 | |
---|---|---|
committer | 2022-07-28 16:00:11 -0400 | |
commit | c15cb36636320012c7d0c9d6ac8620029da70b0b (patch) | |
tree | 20469d393f08c88f58f5cb7c8495b212cb012380 /packages/markdown/component/Markdown.astro | |
parent | 84193e3ea18ac93b52f64f59062ea3ad88780d2e (diff) | |
download | astro-c15cb36636320012c7d0c9d6ac8620029da70b0b.tar.gz astro-c15cb36636320012c7d0c9d6ac8620029da70b0b.tar.zst astro-c15cb36636320012c7d0c9d6ac8620029da70b0b.zip |
Fix shape of Markdown component to work with the language-server (#4085)
* Fix shape of Markdown component to work with the language-server
* Add changeset
Diffstat (limited to 'packages/markdown/component/Markdown.astro')
-rw-r--r-- | packages/markdown/component/Markdown.astro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/markdown/component/Markdown.astro b/packages/markdown/component/Markdown.astro index 7e346b4cc..c581c72b0 100644 --- a/packages/markdown/component/Markdown.astro +++ b/packages/markdown/component/Markdown.astro @@ -50,4 +50,6 @@ if (content) { html = htmlContent; --- +<> {html ? <Fragment set:html={html} /> : <slot />} +</> |