storybook/docs/snippets/common/storybook-main-enable-transcludemarkdown.js.mdx

20 lines
495 B
Plaintext

// .storybook/main.js|ts
module.exports = {
stories: [
//👇 Changes the load order of our stories. First loads the Changelog page
'../src/Changelog.stories.mdx',
'../stories/**/*.stories.mdx',
'../stories/**/*.stories.@(js|jsx|ts|tsx)'
],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
{
name: '@storybook/addon-docs',
options: {
transcludeMarkdown: true, //👈 Set transcludeMarkdown to true
},
},
],
};