@@ -98,6 +98,29 @@ filter.call
9898* ` TextileFilter ` - convert textile to html
9999* ` TableOfContentsFilter ` - anchor headings with name attributes and generate Table of Contents html unordered list linking headings
100100
101+ ## Dependencies
102+
103+ Filter gem dependencies are not bundled; you must bundle the filter's gem
104+ dependencies. The below list details filters with dependencies. For example,
105+ ` SyntaxHighlightFilter ` uses [ github-linguist] ( https://github.com/github/linguist )
106+ to detect and highlight languages. For example, to use the ` SyntaxHighlightFilter ` ,
107+ add the following to your Gemfile:
108+
109+ ``` ruby
110+ gem ' github-linguist'
111+ ```
112+
113+ * ` AutolinkFilter ` - ` rinku `
114+ * ` EmailReplyFilter ` - ` escape_utils `
115+ * ` EmojiFilter ` - ` gemoji `
116+ * ` MarkdownFilter ` - ` github-markdown `
117+ * ` PlainTextInputFilter ` - ` escape_utils `
118+ * ` SanitizationFilter ` - ` sanitize `
119+ * ` SyntaxHighlightFilter ` - ` github-linguist `
120+ * ` TextileFilter ` - ` RedCloth `
121+
122+ _ Note:_ See [ Gemfile] ( /Gemfile ) ` :test ` block for version requirements.
123+
101124## 3rd Party Extensions
102125
103126If you have an idea for a filter, propose it as
@@ -107,19 +130,6 @@ built as an external gem.
107130
108131* [ html-pipeline-asciidoc_filter] ( https://github.com/asciidoctor/html-pipeline-asciidoc_filter ) - asciidoc support
109132
110-
111- ## Syntax highlighting
112-
113- ` SyntaxHighlightFilter ` uses [ github-linguist] ( https://github.com/github/linguist )
114- to detect and highlight languages. It isn't included as a dependency by default
115- because it's a large dependency and
116- [ a hassle to build on heroku] ( https://github.com/jch/html-pipeline/issues/33 ) .
117- To use the filter, add the following to your Gemfile:
118-
119- ``` ruby
120- gem ' github-linguist'
121- ```
122-
123133## Examples
124134
125135We define different pipelines for different parts of our app. Here are a few
0 commit comments