Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/huacnlee/html-pipeline-auto-correct
- Owner: huacnlee
- License: mit
- Created: 2020-01-20T07:01:54.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-13T05:49:47.000Z (about 2 years ago)
- Last Synced: 2024-04-26T08:21:31.409Z (7 months ago)
- Topics: auto-correct, html-pipeline
- Language: Ruby
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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.