Skip to content

Syntax.js v0.3.0 - Code/Pre support, and element options!

Compare
Choose a tag to compare
@williamtroup williamtroup released this 29 Oct 16:05
· 439 commits to main since this release
ac2185f
  • Added Code/Pre element rendering support.
  • Added options attribute "data-syntax-options" support, which will override the default options per code element rendered.
  • Fixed a class name setting issue that caused a random space to appear.
  • Added a new custom trigger "onCopy", which is fired when the "Copy" button for a syntax element is pressed.