Skip to content

Releases: wernerglinka/metalsmith-prism

v4.0.0

17 Apr 22:48
95e3026
Compare
Choose a tag to compare

Updates

  • updated all dependencies to latest versions
  • changed requirements to Node >= 14, NPM >= 8.x.x, Metalsmith >+ 2.4.x
  • added line numbers HTML when option is set

v3.1.1

22 Oct 18:03
Compare
Choose a tag to compare

Fixed

  • 3a754ca bump debug dep. version 2.x had security vulnerability

v3.1.0

01 Jul 22:28
Compare
Choose a tag to compare

Added

  • b948271 Merge pull request #20. Pre-loads language component(s), such that each language component registers itself in the order given in the input array. Useful for loading syntax that extends other language components that are not automatically registered by Prism
Metalsmith(__dirname)
  .use(metalsmithPrism({
    preLoad: ["java", "scala"]
  }))

v3.0.2

21 Dec 08:50
Compare
Choose a tag to compare

Fixed

  • #19 Additional condition to check the file key for the .html extension

v3.0.1

22 Sep 13:12
Compare
Choose a tag to compare

Fixed

  • baba840 move debug module to dependencies

v3.0.0

26 Aug 01:28
Compare
Choose a tag to compare

Breaking

v3.0.0-beta.1

11 Apr 01:08
Compare
Choose a tag to compare
v3.0.0-beta.1 Pre-release
Pre-release

Install using npm install metalsmith-prism@next

Improved

v3.0.0-beta.0

20 Mar 21:37
Compare
Choose a tag to compare
v3.0.0-beta.0 Pre-release
Pre-release

Install using npm install metalsmith-prism@next

Breaking

Upgrade to latest version of Metalsmith using ES syntax support from Node v4/ v5

  • 238abfc use node v4+ as recommended engine in package.json and Travis (tests)
  • 674cdcc update configuration for eslint for ES6 support
  • 7409e5e convert code to es6

v2.2.0

18 Mar 19:20
Compare
Choose a tag to compare

Added

  • 6feb5f7 option to append lineNumbers to parent <pre> tag if present

Dev

  • 496a990 bump deps
    • cheerio 0.20.0
    • lodash 4.6.1
    • prismjs 1.4.1
    • chai 3.5.0
    • mocha 2.4.5
  • ed4fbe7, 89e836d specs for option lineNumbers

v2.1.1

23 Oct 14:28
Compare
Choose a tag to compare

Improved

Dev