mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
24 lines
479 B
Markdown
24 lines
479 B
Markdown
```md renderer="common" language="mdx"
|
|
{/* MyComponent.mdx */}
|
|
|
|
import { Meta } from '@storybook/blocks';
|
|
|
|
<Meta title="A storybook story with syntax highlight registered globally" />
|
|
|
|
# SCSS example
|
|
|
|
This is a sample Sass snippet example with Storybook docs
|
|
|
|
{/* Don't forget to replace (") with (```) when you copy the snippet to your own app */}
|
|
|
|
"scss
|
|
$font-stack: Helvetica, sans-serif;
|
|
$primary-color: #333;
|
|
|
|
body {
|
|
font: 100% $font-stack;
|
|
color: $primary-color;
|
|
}
|
|
"
|
|
```
|