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 year 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-10-13T05:49:47.000Z (over 3 years ago)
- Last Synced: 2025-04-23T22:17:22.278Z (about 1 year ago)
- Topics: auto-correct, html-pipeline
- Language: Ruby
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- 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).
[](https://rubygems.org/gems/html-pipeline-auto-correct) [](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.