Skip to content

Commit

Permalink
test: tables with remarkGfm
Browse files Browse the repository at this point in the history
  • Loading branch information
jlopezcur committed May 28, 2024
1 parent b04d59b commit ef53d54
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { StorybookConfig } from '@storybook/react-vite';
import remarkGfm from 'remark-gfm';

const config: StorybookConfig = {
core: {
Expand All @@ -14,7 +15,16 @@ const config: StorybookConfig = {
'../pages/patterns/*.@(mdx|stories.tsx)',
],
addons: [
'@storybook/addon-docs',
{
name: '@storybook/addon-docs',
options: {
mdxPluginOptions: {
mdxCompileOptions: {
remarkPlugins: [remarkGfm],
},
},
},
},
'@storybook/addon-toolbars',
'@storybook/addon-links',
'@storybook/addon-viewport',
Expand Down

0 comments on commit ef53d54

Please sign in to comment.