Browse Source

Merge pull request #476 from ryan-copperleaf/patch-1

Make --no-html have an effect in CLI
pull/485/head
Vitaly Puzrin 7 years ago
committed by GitHub
parent
commit
d97175306e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      bin/markdown-it.js

2
bin/markdown-it.js

@ -86,7 +86,7 @@ readFile(options.file, 'utf8', function (err, input) {
} }
md = require('..')({ md = require('..')({
html: !options['no-html'], html: !options.no_html,
xhtmlOut: false, xhtmlOut: false,
typographer: options.typographer, typographer: options.typographer,
linkify: options.linkify linkify: options.linkify

Loading…
Cancel
Save