Skip to content

Commit 781509a

Browse files
committed
update title and code highlighting
1 parent 8b1edc3 commit 781509a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
---
2-
title: Reusable Markdown
3-
description: Reusable, custom markdown to keep content in sync. Edit once, update everywhere.
2+
title: Reusable snippets
3+
description: Reusable, custom markdown snippets to keep content in sync. Edit once, update everywhere.
44
---
55

6-
Keep your documentation DRY (Don't Repeat Yourself) by defining a reusable snippet once, and then referencing it in multiple places. This way, you only need to update the snippet in one place to keep all references in sync.
6+
Keep your documentation DRY (Don't Repeat Yourself) by defining a reusable Markdown snippet once, and then referencing it in multiple places. This way, you only need to update the snippet in one place to keep all references in sync.
77

88
## Create a reusable snippet
99

10-
To use reusable snippets, start by creating a new folder in your `fern` project called `snippets`. Inside the `snippets` folder, create a new file for each snippet you want to define.
10+
To use reusable snippets, start by creating a new folder in your `fern` project called `snippets`. Inside the `snippets` folder, create a new Markdown file for each snippet you want to define.
1111

1212
For example:
1313

14-
```bash
14+
```bash {3, 6-8}
1515
fern
1616
└─ pages
1717
└─ my-tutorial.mdx

0 commit comments

Comments
 (0)