Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/huacnlee/html-pipeline-auto-correct

AutoCorrect for html-pipeline
https://github.com/huacnlee/html-pipeline-auto-correct

auto-correct html-pipeline

Last synced: about 1 month ago
JSON representation

AutoCorrect for html-pipeline

Awesome Lists containing this project

README

        

# html-pipeline-auto-correct

[auto-correct](https://github.com/huacnlee/auto-correct) plugin for [html-pipeline](https://github.com/jch/html-pipeline).

[![Gem Version](https://badge.fury.io/rb/html-pipeline-auto-correct.svg)](https://rubygems.org/gems/html-pipeline-auto-correct) [![Build
Status](https://api.travis-ci.org/huacnlee/html-pipeline-auto-correct.svg?branch=master&.svg)](http://travis-ci.org/huacnlee/html-pipeline-auto-correct)

## Installation

Add this line to your application’s Gemfile:

```rb
gem "html-pipeline"
gem "html-pipeline-auto-correct"
```

## Usage

You can add `HTML::Pipeline::AutoCorrectFilter` into your pipeline like this:

```rb
pipeline = HTML::Pipeline.new [
HTML::Pipeline::MarkdownFilter,
HTML::Pipeline::AutoCorrectFilter,
]
result = pipeline.call(text)
```

## License

The gem is available as open source under the terms of the MIT License.