Skip to content

Commit 2130cb1

Browse files
feat: implement the plymorphic lesson (#37)
1 parent e4b6b12 commit 2130cb1

File tree

35 files changed

+1590
-118
lines changed

35 files changed

+1590
-118
lines changed

.storybook/main.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import type { StorybookConfig } from '@storybook/react-vite';
22
import { mergeConfig } from 'vite';
3+
import remarkGfm from 'remark-gfm';
34
import path from 'path';
45

56
const config: StorybookConfig = {
@@ -11,7 +12,17 @@ const config: StorybookConfig = {
1112
'@storybook/addon-onboarding',
1213
'@storybook/addon-links',
1314
'@storybook/addon-interactions',
14-
'@storybook/addon-essentials'
15+
'@storybook/addon-essentials',
16+
{
17+
name: '@storybook/addon-docs',
18+
options: {
19+
mdxPluginOptions: {
20+
mdxCompileOptions: {
21+
remarkPlugins: [remarkGfm]
22+
}
23+
}
24+
}
25+
}
1526
],
1627
framework: {
1728
name: '@storybook/react-vite',

.storybook/styles/docs.styles.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@
2727
.sbdocs-content h3 {
2828
font-size: 1.75rem;
2929
}
30+
31+
.sbdocs-content ol {
32+
list-style: decimal;
33+
}

0 commit comments

Comments
 (0)