From 7972561808ab2434b1984458507f44c51f9ecddd Mon Sep 17 00:00:00 2001 From: Swapnil Mishra Date: Thu, 25 Aug 2022 16:34:23 +0200 Subject: [PATCH] Fix markdown table not rendering issue - markdown table rendering is broken because of using `rehypePlugins` in astro config. This is due to the fact that enabling custom `remarkPlugins` or `rehypePlugins` will remove `remark-gfm`, `remark-smartypants` which are built-in plugins and we need to explicitly add these plugins. - added `remark-gfm` and `remark-smartypants` to fix this --- astro.config.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/astro.config.mjs b/astro.config.mjs index a53a212..97c55a3 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -10,6 +10,7 @@ export default defineConfig({ shikiConfig: { theme: 'nord', }, + remarkPlugins: ['remark-gfm', 'remark-smartypants'], rehypePlugins: [ [ 'rehype-external-links',