summaryrefslogtreecommitdiff
path: root/packages/integrations/markdoc/components/Renderer.astro
diff options
context:
space:
mode:
authorGravatar James Garbutt <43081j@users.noreply.github.com> 2024-04-01 15:52:50 +0100
committerGravatar GitHub <noreply@github.com> 2024-04-01 22:52:50 +0800
commit374efcdff9625ca43309d89e3b9cfc9174351512 (patch)
tree043c1e03c9cd46c1e83fa7362e42155f150f7b62 /packages/integrations/markdoc/components/Renderer.astro
parent31590d44ef8b7c96a757e9b835144d57d767383c (diff)
downloadastro-374efcdff9625ca43309d89e3b9cfc9174351512.tar.gz
astro-374efcdff9625ca43309d89e3b9cfc9174351512.tar.zst
astro-374efcdff9625ca43309d89e3b9cfc9174351512.zip
Lazy loaded shiki languages during syntax highlighting (#10618)
Diffstat (limited to 'packages/integrations/markdoc/components/Renderer.astro')
-rw-r--r--packages/integrations/markdoc/components/Renderer.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/integrations/markdoc/components/Renderer.astro b/packages/integrations/markdoc/components/Renderer.astro
index 4b0dbb3a0..c26d92ad7 100644
--- a/packages/integrations/markdoc/components/Renderer.astro
+++ b/packages/integrations/markdoc/components/Renderer.astro
@@ -12,7 +12,7 @@ type Props = {
const { stringifiedAst, config } = Astro.props as Props;
const ast = Markdoc.Ast.fromJSON(stringifiedAst);
-const content = Markdoc.transform(ast, config);
+const content = await Markdoc.transform(ast, config);
---
{