summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2019-12-16 20:45:24 +0000
committerMichael Williamson <mike@zwobble.org>2019-12-16 20:45:24 +0000
commit17ef73c92b662405fdfd371f6b58b78df98811a7 (patch)
treeab57d235bb0bd6beb69566ae625c0fb02516333a
parentf5c2882517bce77d28522b4ce65da3235216d442 (diff)
Document HTML path for ignore
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4c1240b..7992a41 100644
--- a/README.md
+++ b/README.md
@@ -511,6 +511,15 @@ 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'] => !
+```
+
## Missing features
Compared to the JavaScript and Python implementations, the following features