Hi there - noob question. How can I add a "copy-to-clipboard" button in the top right corner of a code section (```)
Thanks.
Solved by Paul Hibbitts View solution
Hi there - noob question. How can I add a "copy-to-clipboard" button in the top right corner of a code section (```)
Thanks.
Hi @antineutrinos , one way would be to use the Prism Highlighter Plugin: https://github.com/trilbymedia/grav-plugin-prism-highlight
Hope that might fit your needs🙂
Thanks a lot @paulhibbitts. Exactly what I needed.
Hey @paulhibbitts - Do you know if prism-highlight has also an option to wrap long lines ?
Hi @antineutrinos , no I do not know that - might be more info in the Plugin docs.
Log in to reply.
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 2 | 82 | 2 days ago | ||
| 0 | 146 | 7 days ago | ||
| 0 | 146 | 1 week ago | ||
| 0 | 140 | 1 week ago | ||
| 2 | 226 | 2 weeks ago |