Skip to content
Discussion options

You must be logged in to vote

It looks like you are trying to render a codeblock?
Another option would be try something like:

<table>
<tbody>
<tr>
<td>

```css 
.button {
  color: blue;
}
```

</td>
</tr>
</tbody>
</table>

mdx 1 (currently used by storybook) allows markdown to be embedded in JSX if there are spacing newlines between the JSX and the Markdown.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by jgthms
Comment options

You must be logged in to vote
1 reply
@wooorm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants