Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Copy code to clipboard button

Solved by Paul Hibbitts View solution

Started by Michael Schapira 5 years ago · 4 replies · 1223 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 jeremycherfas, 1 week ago
4 181 2 days ago
General · by lynbor, 6 days ago
2 124 3 days ago
General · by Old Man Umby, 1 week ago
1 100 1 week ago
General · by Sebastian, 2 weeks ago
1 124 1 week ago
General · by Andy Miller, 3 weeks ago
0 248 3 weeks ago