import { Meta, StoryObj } from '@storybook/react-webpack5'; import Markdown from '..'; import { createSandboxStory, globalScope, } from '../../../.storybook/components/sandbox/SandboxEditor'; export default { component: Markdown, title: 'Typography/Markdown', } satisfies Meta; type Story = StoryObj; export const Sandbox = createSandboxStory({ code: `{\`# Heading Some **bold** and *italic* text. 1. First item 2. Second item - Nested item \`}`, scope: globalScope, }); export const Basic: Story = { args: { children: `# Heading 1. item one 2. item two - sublist - sublist`, }, };