Open essesoul opened 1 month ago
Put an x into the box(es) that apply:
x
Click on the button to copy the content of the code block
One-click copying of the content of a block of code is achieved by creating the files static/css/clipboard.css and static/js/clipboard.js
static/css/clipboard.css
static/js/clipboard.js
Users can now quickly copy the contents of a block by clicking the button in the upper right corner of the block.
#<ISSUE_NO>
make release
CONTRIBUTORS.md
Nice, thank you. But I will need to make some modifications like move the CSS code to SCSS, and overriding the code template to add the button instead of using JS to include it.
Prerequisites
Put an
x
into the box(es) that apply:Description
Click on the button to copy the content of the code block
One-click copying of the content of a block of code is achieved by creating the files
static/css/clipboard.css
andstatic/js/clipboard.js
Users can now quickly copy the contents of a block by clicking the button in the upper right corner of the block.
Checklist
Put an
x
into the box(es) that apply:General
#<ISSUE_NO>
if applicableResources
make release
to regenerate all CSS filesContributors
CONTRIBUTORS.md
if you aren't on it already