mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
9a2aaa01ea
* fix(assets): Remove TLA by making compiledContent async * fix: actually use the functions I just added lol * chore: changeset
458 B
458 B
astro |
---|
major |
Makes the compiledContent
property of Markdown content an async function, this change should fix underlying issues where sometimes when using a custom image service and images inside Markdown, Node would exit suddenly without any error message.
---
import * as myPost from "../post.md";
- const content = myPost.compiledContent();
+ const content = await myPost.compiledContent();
---
<Fragment set:html={content} />