diff options
author | 2024-04-01 15:52:50 +0100 | |
---|---|---|
committer | 2024-04-01 22:52:50 +0800 | |
commit | 374efcdff9625ca43309d89e3b9cfc9174351512 (patch) | |
tree | 043c1e03c9cd46c1e83fa7362e42155f150f7b62 /packages/integrations/markdoc/components/Renderer.astro | |
parent | 31590d44ef8b7c96a757e9b835144d57d767383c (diff) | |
download | astro-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.astro | 2 |
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); --- { |