pi-hole / docs

The official Pi-hole documentation
https://docs.pi-hole.net/
Creative Commons Attribution Share Alike 4.0 International
196 stars 203 forks source link

Add Copy button to code blocks #1054

Closed yubiuser closed 3 months ago

yubiuser commented 3 months ago

What does this PR aim to accomplish?:

Adds a small Copy (to clipboard) button to the code blocks


By submitting this pull request, I confirm the following:

  1. I have read and understood the contributors guide, as well as this entire template. I understand which branch to base my commits and Pull Requests against.
  2. I have commented my proposed changes within the code and I have tested my changes.
  3. I am willing to help maintain this change if there are issues with it later.
  4. It is compatible with the EUPL 1.2 license
  5. I have squashed any insignificant commits. (git rebase)
  6. I have checked that another pull request for this purpose does not exist.
  7. I have considered, and confirmed that this submission will be valuable to others.
  8. I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  9. I give this submission freely, and claim no ownership to its content.

netlify[bot] commented 3 months ago

Deploy Preview for pihole-docs ready!

Name Link
Latest commit c8adfc23bb69015085feca21d394362a8f7d67bb
Latest deploy log https://app.netlify.com/sites/pihole-docs/deploys/66653fb2776dee0008e3c4d6
Deploy Preview https://deploy-preview-1054--pihole-docs.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.