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

Prism "copy" button fix #1069

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Prism "copy" button fix #1069

wants to merge 1 commit into from

Conversation

johndmulhausen
Copy link
Contributor

@johndmulhausen johndmulhausen commented Feb 4, 2025

Fixes HTML bug in instances where an external file is being loaded in the prism shortcode.

Fixes DOCS-1227

To test go to https://prism-fix.docodile.pages.dev/guides/artifacts/project-scoped-automations/ , then search for "Bash script" and try to copy the code block that features the "Download" button. The code does make it to your clipboard, unlike the live version at https://docs.wandb.ai/guides/artifacts/project-scoped-automations/

@johndmulhausen johndmulhausen requested a review from a team as a code owner February 4, 2025 21:22
Copy link

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: d9c2eac
Status: ✅  Deploy successful!
Preview URL: https://4801dc07.docodile.pages.dev
Branch Preview URL: https://prism-fix.docodile.pages.dev

View logs

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