diff --git a/README.md b/README.md index fb0cd974..20859a14 100644 --- a/README.md +++ b/README.md @@ -204,7 +204,8 @@ Using `ignores` this can be achieved as follows: quicklink({ ignores: [ uri => uri.includes('#') - // or /#(.+)/ if you prefer RegExp + // or RegExp: /#(.+)/ + // or element matching: (uri, elem) => !!elem.hash ] }); ```