Browse Source

Make --no-html have an effect in CLI

HTML is a surprising default, too.
pull/476/head
Ryan O’Hara 7 years ago
committed by GitHub
parent
commit
cf835e0440
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