diff options
| author | Michael Williamson <mike@zwobble.org> | 2022-01-30 11:33:44 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2022-01-30 11:33:44 +0000 |
| commit | 5415187415c1287189f0a64bba23a3610126b3d5 (patch) | |
| tree | f3c1ae4ae3ce1914d25ccb85ac841b932b5e5371 | |
| parent | 28f34b60b6be7d1562409cd9620d17c3883484fb (diff) | |
Move documentation for ignoring document elements to the right section
| -rw-r--r-- | README.md | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -422,6 +422,15 @@ strike Note that this matches text that has had strikethrough explicitly applied to it. It will not match any text that is struckthrough 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 @@ -484,15 +493,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). |
