Skip to content

Commit

Permalink
Make --no-html have an effect in CLI
Browse files Browse the repository at this point in the history
HTML is a surprising default, too.
  • Loading branch information
ryan-copperleaf committed Jul 17, 2018
1 parent 1ad3aec commit cf835e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/markdown-it.js
Expand Up @@ -86,7 +86,7 @@ readFile(options.file, 'utf8', function (err, input) {
}

md = require('..')({
html: !options['no-html'],
html: !options.no_html,
xhtmlOut: false,
typographer: options.typographer,
linkify: options.linkify
Expand Down

0 comments on commit cf835e0

Please sign in to comment.