Sha256: 1e8f3dae9b46bac88ba2ceb3050fb772523e8caf637da5dfcfd4612a7ce1974c

Contents?: true

Size: 1.01 KB

Versions: 2

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 `amf_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

2 entries across 2 versions & 1 rubygems

Version Path
extended-markdown-filter-0.3.0 README.md
extended-markdown-filter-0.2.1 README.md