Skip to content

Commit

Permalink
chore: adds remark-gfm dependency again
Browse files Browse the repository at this point in the history
  • Loading branch information
tibuurcio committed Sep 18, 2024
1 parent 8191712 commit a3e59ea
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { StorybookConfig } from '@storybook/react-vite'
import react from '@vitejs/plugin-react'
import { PluginOption, Plugin } from 'vite'
import { withoutVitePlugins } from '@storybook/builder-vite'
// import remarkGfm from 'remark-gfm'
import remarkGfm from 'remark-gfm'

type StorybookVitePlugins = { plugins: (PluginOption[] | Plugin)[] }

Expand All @@ -18,17 +18,17 @@ const config: StorybookConfig & StorybookVitePlugins = {
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
// {
// name: '@storybook/addon-docs',
// options: {
// mdxPluginOptions: {
// mdxCompileOptions: {
// // needed for rendering markdown tables in .mdx
// remarkPlugins: [remarkGfm],
// },
// },
// },
// },
{
name: '@storybook/addon-docs',
options: {
mdxPluginOptions: {
mdxCompileOptions: {
// needed for rendering markdown tables in .mdx
remarkPlugins: [remarkGfm],
},
},
},
},
],

docs: {
Expand Down

0 comments on commit a3e59ea

Please sign in to comment.