Back to Storybook

SCSS example

docs/_snippets/my-component-with-global-syntax-highlight.md

10.3.6427 B
Original Source
<!-- prettier-ignore -->
mdx
import { Meta } from '@storybook/addon-docs/blocks';

<Meta title="A storybook story with syntax highlight registered globally" />

# SCSS example

This is a sample Sass snippet example with Storybook docs

"scss
$font-stack: Helvetica, sans-serif;
$primary-color: #333;

body {
font: 100% $font-stack;
  color: $primary-color;
}
"