diff --git a/fern/assets/styles.css b/fern/assets/styles.css index b267389df..cd641a710 100644 --- a/fern/assets/styles.css +++ b/fern/assets/styles.css @@ -1087,4 +1087,10 @@ a[href*="changelog"] svg { display: inline-block; } -/*** END -- LANDING PAGE STYLING ***/ \ No newline at end of file +/*** 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; +} \ No newline at end of file diff --git a/fern/products/docs/pages/component-library/custom-components/reusable-markdown.mdx b/fern/products/docs/pages/component-library/custom-components/reusable-markdown.mdx index 49952349b..2ef5ae02e 100644 --- a/fern/products/docs/pages/component-library/custom-components/reusable-markdown.mdx +++ b/fern/products/docs/pages/component-library/custom-components/reusable-markdown.mdx @@ -34,12 +34,13 @@ To use a snippet in your documentation, reference it by its file path (including - +
```jsx Peace lilies are easy to grow and relatively trouble-free. ``` +