From efd37ff022b836f6e6f732a44fde43f6c38cda80 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 16 Dec 2019 20:45:39 +0000 Subject: Document HTML path for ignore --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f78ec6b..8c569ca 100644 --- a/README.md +++ b/README.md @@ -197,7 +197,7 @@ var converter = new DocumentConverter() ``` #### Comments - + By default, comments are ignored. To include comments in the generated HTML, add a style mapping for `comment-reference`. @@ -483,3 +483,12 @@ div.aside > h2 ``` You can nest elements to any depth. + +#### Ignoring document elements + +Use `!` to ignore a document element. +For instance, to ignore any paragraph with the style `Comment`: + +``` +p[style-name='Comment'] => ! +``` -- cgit v1.2.3