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

Fix nocopy and noheader behavior #253

Merged
merged 1 commit into from
Aug 16, 2024
Merged

Fix nocopy and noheader behavior #253

merged 1 commit into from
Aug 16, 2024

Conversation

recrwplay
Copy link
Collaborator

Fixes an issue where adding role=nocopy to a code block was also removing the header.

It is now possible to use:

  • role=nocopy to not display the copy icon
  • role=noheader to not display the header
  • role=nocopy noheader to not display both

Copy link

netlify bot commented Aug 13, 2024

Deploy Preview for neo4j-docs-ui ready!

Name Link
🔨 Latest commit cde549d
🔍 Latest deploy log https://app.netlify.com/sites/neo4j-docs-ui/deploys/66bb233ea9f191000811987c
😎 Deploy Preview https://deploy-preview-253--neo4j-docs-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@recrwplay recrwplay merged commit c2f23b1 into master Aug 16, 2024
5 checks passed
@recrwplay recrwplay deleted the nocopy-fix branch November 27, 2024 10:07
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