Back to Storybook

This is an `.md` file

code/addons/docs/src/blocks/examples/Markdown-content.md

10.3.6329 B
Original Source

This is an .md file

it has been imported using import content from './Markdown-content.md?raw'

Notice the ?raw at the end above, it is necessary to work.

A full example:

md
import { Markdown } from '@storybook/addon-docs/blocks';
import content from './Markdown-content.md?raw';

<Markdown>{content}</Markdown>