generated from mintlify/starter
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Context
In the docs UX, add a way for clients (and LLM workflows) to easily extract the documentation as Markdown.
Quote from chat: “We should add copy as .md button.”
Proposal
Add a “Copy as .md” button to doc pages that copies the current page’s content as clean Markdown to the clipboard.
Acceptance criteria
- Button is visible on doc pages (placement TBD, e.g. top-right near page actions)
- Copies Markdown (not HTML) to clipboard
- Markdown output is clean and readable for LLM ingestion:
- Preserves headings, code blocks, lists, tables (if applicable)
- Removes navigation/sidebar/chrome
- Uses canonical links where needed
- Works on desktop browsers (Chrome/Firefox/Safari)
- Shows success/error feedback (toast or inline)
Implementation notes (optional)
- Use the existing MD source if the site is MD/MDX-based; otherwise convert the rendered content to MD.
- Consider adding a small “Copy failed—download .md” fallback.
Metadata
Metadata
Assignees
Labels
No labels