Skip to content

Commit

Permalink
chore: trying to remove remark-gfm dependency to see if gh-pages disp…
Browse files Browse the repository at this point in the history
…lays it correctly
  • Loading branch information
tibuurcio committed Sep 18, 2024
1 parent 6fee641 commit 924ba44
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 924ba44

Please sign in to comment.