Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WebUI] Add support for copying docs as Markdown #838

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

blindaa121
Copy link
Collaborator

@blindaa121 blindaa121 commented Feb 5, 2025

Description

This MR consists of adding support for copying API Docs and Non-API Docs as Markdown format.

Motivation and Context

This enhancement provides a convenient way to retrieve content in Markdown format and allowing users to quickly grab formatted content for use with AI chat services.

How Has This Been Tested?

Screenshots (if appropriate)

Screen.Recording.2025-02-04.at.9.26.55.AM.mp4

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist

  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes if appropriate.
  • All new and existing tests passed.

@blindaa121 blindaa121 requested a review from a team as a code owner February 5, 2025 19:34
Copy link

github-actions bot commented Feb 5, 2025

Visit the preview URL for this PR (updated for commit 814f7b6):

https://pan-dev-f1b58--pr838-g9sr2wp2.web.app

(expires Thu, 20 Mar 2025 21:10:49 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 9359a9fa100d5fdb082f75280473a90b1f96eb51

@sserrata
Copy link
Member

sserrata commented Feb 5, 2025

Functions ok, maybe the floating toolbar styles could use some cleaning up or improvement. Tooltips could also help as long as they don't get in the way of foreground or background text. What do you think?

src/components/CopyButton/index.js Outdated Show resolved Hide resolved
src/components/FloatingIsland/index.js Show resolved Hide resolved
@blindaa121 blindaa121 requested a review from sserrata February 10, 2025 17:32
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.

2 participants