Reveal.js Copycode Versions Save

A simple plugin that automatically shows a 'copy' button in code blocks in Reveal.js

v1.1.8

3 months ago

Changed

  • Fix for fragment code blocks (@Toshizuki in #10)

v1.1.7

5 months ago
  • Quarto fix

v1.1.6

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

v1.1.5

6 months ago
  • 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

v1.1.4

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

v1.1.3

6 months ago

Changed

  • Fixed copy of empty lines in code blocks.

v1.1.2

11 months ago
  • Removed font-size rule for pre's.

v1.1.1

11 months ago

Changed

  • Fixed a bug where plaintext codeblocks indents got removed.

v1.1.0

1 year ago

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.

v1.0.4

1 year ago
  • Added auto-loading of styles and script.
  • Changed the plugin to use CSS variables.