Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@gridsome/remark-prismjs

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gridsome/remark-prismjs - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

17

CHANGELOG.md

@@ -6,10 +6,7 @@ # Change Log

<a name="0.0.4"></a>
## [0.0.4](https://github.com/gridsome/gridsome/tree/master/packages/remark-prismjs/compare/@gridsome/remark-prismjs@0.0.3...@gridsome/remark-prismjs@0.0.4) (2018-11-22)
## [0.0.5](https://github.com/gridsome/gridsome/tree/master/packages/remark-prismjs/compare/@gridsome/remark-prismjs@0.0.4...@gridsome/remark-prismjs@0.0.5) (2019-03-08)
**Note:** Version bump only for package @gridsome/remark-prismjs
### Bug Fixes
* **prismjs:** improve perf by loading languages once ([baf3634](https://github.com/gridsome/gridsome/tree/master/packages/remark-prismjs/commit/baf3634))
* **prismjs:** load all languages ([#52](https://github.com/gridsome/gridsome/tree/master/packages/remark-prismjs/issues/52)) ([8617456](https://github.com/gridsome/gridsome/tree/master/packages/remark-prismjs/commit/8617456))

@@ -20,2 +17,12 @@

<a name="0.0.4"></a>
## [0.0.4](https://github.com/gridsome/gridsome/compare/@gridsome/remark-prismjs@0.0.3...@gridsome/remark-prismjs@0.0.4) (2018-11-23)
### Bug Fixes
* **prismjs:** improve perf by loading languages once ([baf3634](https://github.com/gridsome/gridsome/commit/baf3634))
* **prismjs:** load all languages ([#52](https://github.com/gridsome/gridsome/issues/52)) ([8617456](https://github.com/gridsome/gridsome/commit/8617456))
<a name="0.0.3"></a>

@@ -22,0 +29,0 @@ ## [0.0.3](https://github.com/gridsome/gridsome/compare/142896c2454016dc989a7872faffec7263fc658c...@gridsome/remark-prismjs@0.0.3) (2018-09-26)

{
"version": "0.0.4",
"version": "0.0.5",
"name": "@gridsome/remark-prismjs",

@@ -25,3 +25,3 @@ "description": "Prism for Gridsome",

},
"gitHead": "8232162038e7431cd0e02096bb73c02d99a90012"
"gitHead": "f6b25a1ce3e3f986464f014380c28b04ed281aba"
}

@@ -11,5 +11,15 @@ # @gridsome/remark-prismjs

Add syntax highlighter to a single markdown source:
In your `main.js` file, import a Prism CSS theme:
```js
import 'prismjs/themes/prism.css'
export default function (Vue) {
// ...
}
```
In `gridsome.config.js`, add syntax highlighter to a single markdown source:
```js
module.exports = {

@@ -33,3 +43,3 @@ plugins: [

Add syntax highlighter to all markdown sources:
Or add syntax highlighter to all markdown sources:

@@ -36,0 +46,0 @@ ```js

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc