Rocket Logo Rocket Guides Docs Blog Toggle darkmode

Markdown JavaScript: Story

You can showcase live running code by annotating a code block with js story.

```js script
import { html } from '@mdjs/mdjs-story';
```

```js story
export const foo = () => html` <p>my html</p> `;
```

will result in