Releases: Martinomagnifico/reveal.js-copycode
Releases · Martinomagnifico/reveal.js-copycode
CopyCode 1.4.2
Changed
- Removed min-height to fix #20
CopyCode 1.3.2
- Fixed an error that occurred in embedded mode where the plugin did not correctly scope the copy buttons to the active deck.
CopyCode 1.3.1
Changed
- Add an embedded demo
- The plugin will now check if it is running in a module environment and will then not autoload the CSS. You can still set cssautoload to true if you like, but your bundler (Vite, Webpack) may not like that. In any of these cases, import the CSS file yourself.
CopyCode 1.3.0
Changed
- This new version is built with Vite
- Removes dependency on Clipboard.js and uses the native Clipboard API instead
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