Skip to content

Releases: Martinomagnifico/reveal.js-copycode

CopyCode 1.4.2

04 Feb 21:31

Choose a tag to compare

Changed

  • Removed min-height to fix #20

CopyCode 1.3.2

05 May 15:20

Choose a tag to compare

  • 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

04 May 11:16

Choose a tag to compare

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

20 Apr 08:16

Choose a tag to compare

Changed

  • This new version is built with Vite
  • Removes dependency on Clipboard.js and uses the native Clipboard API instead

CopyCode 1.2.0

12 Jun 17:14

Choose a tag to compare

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

  • Fix extra indentation with line numbers using hljs table (@hayesall in #14)
  • Change gulp header function
  • Change loading of styles (thanks to @jenwirth in #12)

CopyCode 1.1.8

28 Feb 21:03

Choose a tag to compare

Changed

CopyCode 1.1.7

01 Jan 11:40

Choose a tag to compare

  • Quarto fix

CopyCode 1.1.6

31 Dec 11:54

Choose a tag to compare

  • Target only pre's that directly have a code child

CopyCode 1.1.5

01 Dec 15:03

Choose a tag to compare

  • 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

05 Nov 15:19

Choose a tag to compare

  • Rewrote plugin so that the demo can be easily started from the command line
  • Removed JetBrains Mono font from demo