Browse Source

Merge pull request #236 from JPinkney/master

Added semi-colon after require('highlight.js')
pull/239/head
Vitaly Puzrin 9 years ago
parent
commit
fbc6b0fed5
  1. 4
      README.md

4
README.md

@ -139,7 +139,7 @@ var md = require('markdown-it')()
Apply syntax highlighting to fenced code blocks with the `highlight` option: Apply syntax highlighting to fenced code blocks with the `highlight` option:
```js ```js
var hljs = require('highlight.js') // https://highlightjs.org/ var hljs = require('highlight.js'); // https://highlightjs.org/
// Actual default values // Actual default values
var md = require('markdown-it')({ var md = require('markdown-it')({
@ -158,7 +158,7 @@ var md = require('markdown-it')({
Or with full wrapper override (if you need assign class to `<pre>`): Or with full wrapper override (if you need assign class to `<pre>`):
```js ```js
var hljs = require('highlight.js') // https://highlightjs.org/ var hljs = require('highlight.js'); // https://highlightjs.org/
// Actual default values // Actual default values
var md = require('markdown-it')({ var md = require('markdown-it')({

Loading…
Cancel
Save