Skip to content

v1.1.0

Compare
Choose a tag to compare
@robmcguinness robmcguinness released this 03 Sep 01:48
· 46 commits to master since this release
  • Feature: deprecate prism-languages in favor of require('prismjs').languages. Automatically load syntax definitions from prismjs/components folder.
  • Improved: upgrade Prism.js to v1.5.1
  • Fixed: json syntax highlighting now uses native json highlighter instead of javascript
  • Fixed: closes #6. Ability to introduce custom styles for syntax highlighting in book.json. Defaults to prismjs/themes/prism.css.
"pluginsConfig": {  
  "prism": {
    "css": [
      "prismjs/themes/prism-solarizedlight.css"
    ]
  }
}