b1ee747a24
* 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.
14 lines
122 B
Markdown
14 lines
122 B
Markdown
```
|
|
% pandoc --strip-comments
|
|
Foo
|
|
|
|
bar
|
|
|
|
<!-- comment -->
|
|
|
|
baz<!-- bim -->boop
|
|
^D
|
|
<p>Foo</p>
|
|
<p>bar</p>
|
|
<p>bazboop</p>
|
|
```
|