Skip to content

Commit d954a43

Browse files
committed
fix image path and redirect
1 parent 46c09a1 commit d954a43

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

fern/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ redirects:
303303
destination: /learn/docs/writing-content/components/accordions
304304
- source: /learn/docs/writing-content/components/card-groups
305305
destination: /learn/docs/writing-content/components/cards
306-
- source: /learn/docs/writing-content/components/embed
306+
- source: /learn/docs/writing-content/components/download
307307
destination: /learn/docs/writing-content/components/download
308308
- source: /learn/docs/building-and-customizing-your-docs/navigation
309309
destination: /learn/docs/configuration/navigation

fern/products/docs/pages/component-library/writing-content/markdown.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ Embed PDFs using the `<iframe>` element. Don't use the `<embed>` element, as it
114114

115115
<Tabs>
116116
<Tab title="Rendered video">
117-
<iframe src="./all-about-ferns.pdf" width="100%" height="500px" style={{ border: 'none', borderRadius: '0.5rem' }} />
117+
<iframe src="../default-components/all-about-ferns.pdf" width="100%" height="500px" style={{ border: 'none', borderRadius: '0.5rem' }} />
118118
</Tab>
119119
<Tab title="HTML">
120120
```html
121-
<iframe src="./all-about-ferns.pdf" width="100%" height="500px" style={{ border: 'none', borderRadius: '0.5rem' }} />
121+
<iframe src="../default-components/all-about-ferns.pdf" width="100%" height="500px" style={{ border: 'none', borderRadius: '0.5rem' }} />
122122
```
123123
</Tab>
124124
</Tabs>

0 commit comments

Comments
 (0)