Skip to content

Commit 0ff1d42

Browse files
authored
Fix code block syntax in Reusable Markdown page (#166)
1 parent 177d9c6 commit 0ff1d42

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

fern/products/docs/pages/component-library/custom-components/reusable-markdown.mdx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,17 @@ To use a snippet in your documentation, reference it by its file path (including
3434

3535
<Tabs>
3636
<Tab title="Markdown">
37-
```mdx
37+
38+
```jsx
3839
Peace lilies are easy to grow and relatively trouble-free.
3940

40-
<Markdown src="/snippets/peace-lily.mdx" />
41+
<Markdown src="/snippets/peace-lily.mdx">
4142
```
43+
4244
</Tab>
4345
<Tab title="Preview">
4446
Peace lilies are easy to grow and relatively trouble-free.
45-
47+
4648
<Markdown src="/snippets/peace-lily.mdx" />
4749
</Tab>
4850
</Tabs>

0 commit comments

Comments
 (0)