Skip to content

Releases: Martinomagnifico/reveal.js-copycode

CopyCode 1.2.0

12 Jun 17:14
Compare
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
Compare
Choose a tag to compare

Changed

CopyCode 1.1.7

01 Jan 11:40
Compare
Choose a tag to compare
  • Quarto fix

CopyCode 1.1.6

31 Dec 11:54
Compare
Choose a tag to compare
  • Target only pre's that directly have a code child

CopyCode 1.1.5

01 Dec 15:03
Compare
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
Compare
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

CopyCode 1.1.3

01 Nov 21:24
Compare
Choose a tag to compare

Changed

  • Fixed copy of empty lines in code blocks.

CopyCode 1.1.2

30 Jun 06:58
Compare
Choose a tag to compare
  • Removed font-size rule for pre's.

CopyCode 1.1.1

08 Jun 06:30
Compare
Choose a tag to compare

Changed

  • Fixed a bug where plaintext codeblocks indents got removed.

CopyCode 1.1.0

22 May 16:57
Compare
Choose a tag to compare

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.