No commit activity in last 3 years
No release in over 3 years
This is a custom Markdown processor for Jekyll 2.0 and above. It allows you to use GitHub's HTML::Pipeline in your Jekyll projects.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

Build Status

jekyll-html-pipeline

An HTML::Pipeline, for Jekyll.

Installation

In your _config.yml file, add this gem:

gems:
  - jekyll-html-pipeline

Configuration

You'll need to be running a Jekyll version after 2.0.0, which is when custom Markdown filters were introduced. In your _config.yml file, indicate that you want to use html_pipeline:

markdown: HTMLPipeline

Next, create an html_pipeline key, and indicate which filters you want to include:

markdown: HTMLPipeline
html_pipeline:
  filters:
    - "markdownfilter"
    - "sanitizationfilter"
    - "emojifilter"
    - "mentionfilter"

Finally, some filters require a context object. You can define these next:

markdown: HTMLPipeline
html_pipeline:
  filters:
    - "markdownfilter"
    - "sanitizationfilter"
    - "emojifilter"
    - "mentionfilter"
  context:
    asset_root: "http://foo.com/icons"
    base_url:   "https://github.com/"

Keep in mind that filter dependencies are not bundled, so you'll need to add these in yourself.

Custom filters

Custom filters can be designed the same as in HTML::Pipeline.

Check out the test filter for an example. Because computers are stupid, remember that case-sensitivity matters when adding the custom filter to filters.