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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 |
|
|