Skip to content

Add "Copy Markdown" button - #2498

Merged
pwizla merged 7 commits into
mainfrom
repo/copy-markdown-button
May 23, 2025
Merged

Add "Copy Markdown" button#2498
pwizla merged 7 commits into
mainfrom
repo/copy-markdown-button

Conversation

@pwizla

@pwizla pwizla commented May 23, 2025

Copy link
Copy Markdown
Collaborator

This PR adds a little button below the "Contribute to this page" link in the secondary navbar. When clicked, it fetches the raw Markdown file from GitHub and stores it in the user's clipboard, ready to be pasted anywhere, incl. in their favorite LLM 😎

@pwizla pwizla self-assigned this May 23, 2025
@vercel

vercel Bot commented May 23, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2025 0:07am

@pwizla pwizla added source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo pr: new content PRs for new product features or new documentation sections labels May 23, 2025
@pwizla pwizla added this to the 6.3.2 milestone May 23, 2025
@pwizla
pwizla merged commit 9b1462c into main May 23, 2025
@pwizla
pwizla deleted the repo/copy-markdown-button branch May 23, 2025 12:08
pwizla added a commit that referenced this pull request May 23, 2025
* Add first working version of the button

* Implement second working version with better styling

* Get closer to Contribute link style

* Move style to its own SCSS file

* Improve hover behavior

* Improve tooltip

* Fix font-weight rendering
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: new content PRs for new product features or new documentation sections source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant