Releases: wernerglinka/metalsmith-prism
Releases · wernerglinka/metalsmith-prism
v4.0.0
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
Fixed
- 3a754ca bump debug dep. version 2.x had security vulnerability
v3.1.0
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
Fixed
- #19 Additional condition to check the file key for the
.html
extension
v3.0.1
Fixed
- baba840 move
debug
module to dependencies
v3.0.0-beta.1
Install using npm install metalsmith-prism@next
Improved
v3.0.0-beta.0
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
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