Rocket Logo Rocket Guides Docs Blog

Markdown JavaScript: Story

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

```js story
import { html } from 'lit-html';

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

will result in