Skip to content

Commit 4297aae

Browse files
committed
add note on multiple dependencies
1 parent 3f8e61e commit 4297aae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,10 @@ For more information on how to write effective `NodeFilter`s, refer to the provi
244244
Since filters can be customized to your heart's content, gem dependencies are _not_ bundled; this project doesn't know which of the default filters you might use, and as such, you must bundle each filter's gem
245245
dependencies yourself.
246246

247-
_Note:_ See the [Gemfile](/Gemfile) `:test` group for any version requirements.
247+
> **Note**
248+
> See the [Gemfile](/Gemfile) `:test` group for any version requirements.
249+
250+
When developing a custom filter, call `HTMLPipeline.require_dependency` at the start to ensure that the local machine has the necessary dependency. You can also use `HTMLPipeline.require_dependencies` to provide a list of dependencies to check.
248251

249252
## Documentation
250253

0 commit comments

Comments
 (0)