aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2019-12-16 20:45:39 +0000
committerMichael Williamson <mike@zwobble.org>2019-12-16 20:45:39 +0000
commitefd37ff022b836f6e6f732a44fde43f6c38cda80 (patch)
tree9b2745894284f63c345683f62b48fee0cbb06f44
parent3327fe43f95625837c1c767265e76254800ee5d5 (diff)
Document HTML path for ignore
-rw-r--r--README.md11
1 files changed, 10 insertions, 1 deletions
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'] => !
+```