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
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 |
|
|