Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion fern/assets/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -1087,4 +1087,10 @@ a[href*="changelog"] svg {
display: inline-block;
}

/*** END -- LANDING PAGE STYLING ***/
/*** END -- LANDING PAGE STYLING ***/

/* HACK: add a slash to markdown snippet documentation (otherwise it gets parsed by CLI) */
.modify-snippet tbody tr:last-of-type td:last-of-type .line span:last-of-type:before {
content: "/";
display: inline-block;
}
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,13 @@ To use a snippet in your documentation, reference it by its file path (including

<Tabs>
<Tab title="Markdown">

<div className="modify-snippet">
```jsx
Peace lilies are easy to grow and relatively trouble-free.

<Markdown src="/snippets/peace-lily.mdx">
```
</div>

</Tab>
<Tab title="Preview">
Expand Down