Skip to content

Commit f94889a

Browse files
committed
added remarkGfm to vite.config.ts inorder to fix the table parsing issue
1 parent 5441734 commit f94889a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

vite.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { nodeTypes } from "@mdx-js/mdx";
99
import remarkShikiTwoslash from "remark-shiki-twoslash";
1010
import rehypeSlug from "rehype-slug";
1111
import Icons from "unplugin-icons/vite";
12+
import remarkGfm from "remark-gfm";
1213

1314
const adapter = process.env.GITHUB_ACTIONS ? node() : netlify();
1415

@@ -24,6 +25,7 @@ export default defineConfig({
2425
providerImportSource: "solid-mdx",
2526
rehypePlugins: [rehypeSlug, [rehypeRaw, { passThrough: nodeTypes }]],
2627
remarkPlugins: [
28+
remarkGfm
2729
[
2830
remarkShikiTwoslash.default,
2931
{

0 commit comments

Comments
 (0)