Skip to content

Add child-content note to Download component single-file section - #6695

Closed
fern-api[bot] wants to merge 1 commit into
mainfrom
2026-08-20-fern-ai-d8be69-a7f97dfb
Closed

Add child-content note to Download component single-file section#6695
fern-api[bot] wants to merge 1 commit into
mainfrom
2026-08-20-fern-ai-d8be69-a7f97dfb

Conversation

@fern-api

@fern-api fern-api Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Added a plain-prose note directly after the single-file code example on the Download component page clarifying that the child of <Download> must be plain text or a <Button> element, and that Markdown link syntax like [click here](.) will not render correctly inside the component.

<Download src="./assets/all-about-ferns.pdf">Download PDF</Download>
```

The child of `<Download>` must be plain text or a `<Button>` element — Markdown link syntax like `[click here](.)` inside the component will not render correctly.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [vale] <Microsoft.Contractions> reported by reviewdog 🐶
Use 'won't' instead of 'will not'.

Suggested change
The child of `<Download>` must be plain text or a `<Button>` element — Markdown link syntax like `[click here](.)` inside the component will not render correctly.
The child of `<Download>` must be plain text or a `<Button>` element — Markdown link syntax like `[click here](.)` inside the component won't render correctly.

@github-actions

Copy link
Copy Markdown
Contributor

@devalog devalog closed this Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant