Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

Copy code to clipboard button

Solved by Paul Hibbitts View solution

Started by Michael Schapira 5 years ago · 4 replies · 1148 views
5 years ago

Hi there - noob question. How can I add a "copy-to-clipboard" button in the top right corner of a code section (```)

Thanks.

5 years ago

Hey @paulhibbitts - Do you know if prism-highlight has also an option to wrap long lines ?

5 years ago

Hi @antineutrinos , no I do not know that - might be more info in the Plugin docs.

Suggested topics

Topic Participants Replies Views Activity
General · by jean-louis67, 3 days ago
2 82 2 days ago
General · by Andy Miller, 7 days ago
0 146 7 days ago
General · by Veehem, 1 week ago
0 146 1 week ago
General · by milkboy, 1 week ago
0 140 1 week ago
General · by ian russell, 2 weeks ago
2 226 2 weeks ago