Sha256: 32e4ca1cce06fbaf4f7c467d2856049e7b7b6edcabfe55fa75f220440e676d14

Contents?: true

Size: 1.01 KB

Versions: 3

Compression:

Stored size: 1.01 KB

Contents

extended-markdown-filter
====================

Extended Markdown filters for the [HTML::Pipeline](https://github.com/jch/html-pipeline).

[![Build Status](https://travis-ci.org/gjtorikian/extended-markdown-filter.svg)](https://travis-ci.org/gjtorikian/extended-markdown-filter)

## Installation

Add this line to your application's Gemfile:

    gem 'extended-markdown-filter'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install extended-markdown-filter

## Usage

The simplest way to do this is

``` ruby
require 'extended-markdown-filter'
```

Then just use the HTML pipeline normally.

### Within Jekyll

Because of the Liquid template engine, if you use this filter with Jekyll, you might find that your curly brace tags--such as `{{#tip}}`--disappear.

You'll need to pass the context `emf_use_blocks` through your filter. This sets up a totally safe monkey-patch to convert the `{{ }}` blocks into `[[ ]]`, so that Liquid ignores them. Then, this renderer will convert the Markdown appropriately.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
extended-markdown-filter-0.3.3 README.md
extended-markdown-filter-0.3.2 README.md
extended-markdown-filter-0.3.1 README.md