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
This commit is contained in:
Swapnil Mishra 2022-08-25 16:34:23 +02:00
parent 937b87938f
commit 7972561808

View File

@ -10,6 +10,7 @@ export default defineConfig({
shikiConfig: {
theme: 'nord',
},
remarkPlugins: ['remark-gfm', 'remark-smartypants'],
rehypePlugins: [
[
'rehype-external-links',