diff options
| author | Michael Williamson <mike@zwobble.org> | 2022-01-30 11:32:31 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2022-01-30 11:32:31 +0000 |
| commit | ebf4009790cda07431c617617eaad9e8abc4a9e7 (patch) | |
| tree | 991eab396a4fa9af1048086bce606309aae0d523 | |
| parent | 4c42bb9075802d2cb9571ed5ad87391c22039b6b (diff) | |
Move documentation for ignoring document elements to the right section
| -rw-r--r-- | README.md | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -618,6 +618,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 @@ -680,15 +689,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'] => ! -``` - ## Donations If you'd like to say thanks, feel free to [make a donation through Ko-fi](https://ko-fi.com/S6S01MG20). |
