mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-29 01:41:20 +08:00
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.
15 lines
122 B
Markdown
15 lines
122 B
Markdown
```
|
|
% pandoc --strip-comments
|
|
Foo
|
|
|
|
bar
|
|
|
|
<!-- comment -->
|
|
|
|
baz<!-- bim -->boop
|
|
^D
|
|
<p>Foo</p>
|
|
<p>bar</p>
|
|
<p>bazboop</p>
|
|
```
|