项目作者: huacnlee

项目描述 :
AutoCorrect for html-pipeline
高级语言: Ruby
项目地址: git://github.com/huacnlee/html-pipeline-auto-correct.git
创建时间: 2020-01-20T07:01:54Z
项目社区:https://github.com/huacnlee/html-pipeline-auto-correct

开源协议:MIT License

下载


html-pipeline-auto-correct

auto-correct plugin for html-pipeline.

Gem Version Build
Status

Installation

Add this line to your application’s Gemfile:

  1. gem "html-pipeline"
  2. gem "html-pipeline-auto-correct"

Usage

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

  1. pipeline = HTML::Pipeline.new [
  2. HTML::Pipeline::MarkdownFilter,
  3. HTML::Pipeline::AutoCorrectFilter,
  4. ]
  5. result = pipeline.call(text)

License

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