mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
9a2aaa01ea
* fix(assets): Remove TLA by making compiledContent async * fix: actually use the functions I just added lol * chore: changeset
16 lines
458 B
Markdown
16 lines
458 B
Markdown
---
|
|
'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.
|
|
|
|
```diff
|
|
---
|
|
import * as myPost from "../post.md";
|
|
|
|
- const content = myPost.compiledContent();
|
|
+ const content = await myPost.compiledContent();
|
|
---
|
|
|
|
<Fragment set:html={content} />
|
|
```
|