From deff5d7c556f3cf3bab3309cc21548a1dcac4f0a Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 30 Jan 2022 11:33:07 +0000 Subject: Move documentation for ignoring document elements to the right section --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 3c8de19..c91d027 100644 --- a/README.md +++ b/README.md @@ -460,6 +460,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 @@ -522,15 +531,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'] => ! -``` - ## Missing features Compared to the JavaScript and Python implementations, the following features -- cgit v1.2.3