Skip to content

feat: add CopyAsMarkdown component for easy markdown copying#183

Open
n3-rd wants to merge 2 commits intostoracha:mainfrom
n3-rd:copy-as-markdown
Open

feat: add CopyAsMarkdown component for easy markdown copying#183
n3-rd wants to merge 2 commits intostoracha:mainfrom
n3-rd:copy-as-markdown

Conversation

@n3-rd
Copy link

@n3-rd n3-rd commented Feb 10, 2026

Introduced a new CopyAsMarkdown component that allows users to copy the current page's content as markdown. This helps users quicky paste docs to LLMs
image

Introduced a new CopyAsMarkdown component that allows users to copy the current page's content as markdown. This helps users quicky paste docs to LLMs
…ng and loading states

Updated the CopyAsMarkdown component to include better state management using useRef and useEffect for handling loading and error states. Introduced a new regex for repository parsing and optimized the fetchMarkdown function to handle multiple URL candidates. Improved user feedback with status labels during the copy process.
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