Skip to content

Fix/citation bibtex copy button scaffold#14387

Open
AJBogo9 wants to merge 2 commits intoquarto-dev:mainfrom
AJBogo9:fix/citation-bibtex-copy-button-scaffold
Open

Fix/citation bibtex copy button scaffold#14387
AJBogo9 wants to merge 2 commits intoquarto-dev:mainfrom
AJBogo9:fix/citation-bibtex-copy-button-scaffold

Conversation

@AJBogo9
Copy link
Copy Markdown

@AJBogo9 AJBogo9 commented Apr 18, 2026

Description

In 1.8 the CSS copy-button hover selector was changed to require a div.code-copy-outer-scaffold parent. Regular code blocks were updated but the citation appendix template was not. The consequence was that the copy button became invisible on BibTeX citation entries. This fix wraps the BibTeX <pre> block in the scaffold div to match.

Closes #13669

Checklist

I have (if applicable):

  • filed a contributor agreement.
  • referenced the GitHub issue this PR closes
  • updated the appropriate changelog in the PR
  • ensured the present test suite passes
  • added new tests
  • created a separate documentation PR in Quarto's website repo and linked it to this PR

AJBogo9 added 2 commits April 18, 2026 20:55
In 1.8 the CSS copy-button hover selector was changed to require a
div.code-copy-outer-scaffold parent. Regular code blocks were updated
but the citation appendix template was not, making the copy button
invisible. Wrap the bibtex <pre> in the scaffold div to match.
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.

Copy button missing in Bibtex when using citation

1 participant