From cf835e0440313ebdb9d4e907c8ff9c034bfd7b3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ryan=20O=E2=80=99Hara?= Date: Tue, 17 Jul 2018 10:21:22 -0700 Subject: [PATCH] Make --no-html have an effect in CLI HTML is a surprising default, too. --- bin/markdown-it.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/markdown-it.js b/bin/markdown-it.js index 3a7542d49..5bd321c53 100755 --- a/bin/markdown-it.js +++ b/bin/markdown-it.js @@ -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