pandoc/test/command/2552.md
John MacFarlane b1ee747a24 Added --strip-comments option, readerStripComments in ReaderOptions.
* Options:  Added readerStripComments to ReaderOptions.
* Added `--strip-comments` command-line option.
* Made `htmlTag` from the HTML reader sensitive to this feature.

This affects Markdown and Textile input.

Closes #2552.
2017-09-17 13:01:27 -07:00

122 B

% pandoc --strip-comments
Foo

bar

<!-- comment -->

baz<!-- bim -->boop
^D
<p>Foo</p>
<p>bar</p>
<p>bazboop</p>