summaryrefslogtreecommitdiff
path: root/MANUAL.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-09-17 12:49:15 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-09-17 13:01:27 -0700
commitb1ee747a249e0c1b1840222ef77607218157f099 (patch)
treed3dae4803ee2585ba3d44fca9c42a2a31e5cdb6f /MANUAL.txt
parentce05814372b5a9d3d8f90dcd0e7c56df77d966a0 (diff)
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.
Diffstat (limited to 'MANUAL.txt')
-rw-r--r--MANUAL.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 8491c1998..564f7f317 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -655,6 +655,14 @@ General writer options
of contents. The default is 3 (which means that level 1, 2, and 3
headers will be listed in the contents).
+`--strip-comments`
+
+: Strip out HTML comments in the Markdown or Textile source,
+ rather than passing them on to Markdown, Textile or HTML
+ output as raw HTML. This does not apply to HTML comments
+ inside raw HTML blocks when the `markdown_in_html_blocks`
+ extension is not set.
+
`--no-highlight`
: Disables syntax highlighting for code blocks and inlines, even when