- 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.
- 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)
- Fix for fragment code blocks (@Toshizuki in #10)
- Quarto fix
- Target only pre's that directly have a code child
- 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
- Rewrote plugin so that the demo can be easily started from the command line
- Removed JetBrains Mono font from demo
- Fixed copy of empty lines in code blocks.
- Removed font-size rule for pre's.
- Fixed a bug where plaintext codeblocks indents got removed.
- Added (SVG) icon option.
- Added border option.
- Added offset option.
- Added scale option.
- Added tooltip option.
- Added MarkDown example.
- Added Quarto compatibility.
- 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.
- Started keeping the changelog.
- Added auto-loading of styles and script.
- Changed the plugin to use CSS variables.
- Fixed visible button in fragment, thanks @danbst for spotting this.
- Fixed extra indentation where copied code was rich text. The copied code now defaults to plaintext. Thanks @danbst for finding the issue.
- This version fixes an issue where code is copied multiple times whenever code-fragment highlighting is used.
- Compatibility with Reveal.js 4. The plugin can now be loaded via script tag and as a module.
- First commit