From 17ef73c92b662405fdfd371f6b58b78df98811a7 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 16 Dec 2019 20:45:24 +0000 Subject: Document HTML path for ignore --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'README.md') 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 -- cgit v1.2.3