Releases: Martinomagnifico/reveal.js-copycode
Releases · Martinomagnifico/reveal.js-copycode
CopyCode 1.2.0
Added
- Added a 'cssautoload' option that can be disabled if the user wants to use npm imports for the CSS file. This is useful for users who want to use a bundler like Webpack or Parcel.
Changed
CopyCode 1.1.8
Changed
- Fix for fragment code blocks (@Toshizuki in #10)
CopyCode 1.1.7
- Quarto fix
CopyCode 1.1.6
- Target only pre's that directly have a code child
CopyCode 1.1.5
- Fixed an error where code could not be copied if it was preceded by a space
- Empty code blocks will now not get a copy button
CopyCode 1.1.4
- Rewrote plugin so that the demo can be easily started from the command line
- Removed JetBrains Mono font from demo
CopyCode 1.1.3
Changed
- Fixed copy of empty lines in code blocks.
CopyCode 1.1.2
- Removed font-size rule for pre's.
CopyCode 1.1.1
Changed
- Fixed a bug where plaintext codeblocks indents got removed.
CopyCode 1.1.0
Added
- Added (SVG) icon option.
- Added border option.
- Added tooltip option.
- Added MarkDown example.
- Added Quarto compatibility.
Changed
- Fixed a bug where YAML codeblocks would lose their indents.
- Fixed a bug where Clipboard.js could load multiple times.
- Reordered options into objects, while keeping backwards compatible.