summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2022-01-30 11:31:14 +0000
committerMichael Williamson <mike@zwobble.org>2022-01-30 11:31:14 +0000
commit4b108768aa0c714440d598bb1076a7191bf32807 (patch)
tree465f5bfde74a76fe5cb71d136321acd36148a356
parent6727a1dc13993ecd72276345c53d095c824ea696 (diff)
Move documentation for ignoring document elements to the right section
-rw-r--r--README.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/README.md b/README.md
index 6c89bd4..7772ff1 100644
--- a/README.md
+++ b/README.md
@@ -750,6 +750,15 @@ small-caps
Note that this matches text that has had small caps explicitly applied to it.
It will not match any text that is small caps because of its paragraph or run style.
+#### Ignoring document elements
+
+Use `!` to ignore a document element.
+For instance, to ignore any paragraph with the style `Comment`:
+
+```
+p[style-name='Comment'] => !
+```
+
### HTML paths
#### Single elements
@@ -812,15 +821,6 @@ 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'] => !
-```
-
## Upgrading to later versions
### 1.0.0