Skip to content

Commit

Permalink
Update content-reuse.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Dahka2321 authored Dec 3, 2024
1 parent a9b4f8c commit 1f9fa33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notes/content-reuse.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Create a `.md` file in the `/content` directory.
import DescriptionShort from '@/content/DescriptionShort.md'
```

1. Use it within the file
2. Use it within the file

```
Text before
Expand All @@ -38,7 +38,7 @@ export { default as ComponentA } from './ComponentA.md'
export { default as ComponentB } from './ComponentB.md'
```

1. Import it at the top of `.mdx` file:
2. Import it at the top of `.mdx` file:

```
import {ComponentA, ComponentB} from '@/content/index.js'
Expand Down

0 comments on commit 1f9fa33

Please sign in to comment.