Rocket Logo Rocket Guides Docs Blog

Markdown JavaScript: Preview

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

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

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

will result in