html-pipeline
Version, currently 0.2.01 version
- 0.2.0latestApr 10, 2020
github.com/huacnlee/html-pipeline.cr
HTML processing filters and utilities for Crystal.
12 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
html-pipeline:
github: huacnlee/html-pipeline.cr
version: ~> 0.2.0Then run:
shards installshard.yml
- Crystal
0.21.1- License
- MIT
- Author
- Jason Lee <huacnlee@gmail.com>
Dependencies
Runtime Dependencies
- markd*github: icyleaf/markd
README
HTML::Pipeline
==============
[](https://travis-ci.org/huacnlee/html-pipeline)
HTML processing filters and utilities for Crystal.
This is Crystal implement like [html-pipeline](https://github.com/jch/html-pipeline) in Ruby.
## Installation
Add this to your application's `shard.yml`:
```yaml
dependencies:
html-pipeline:
github: huacnlee/html-pipeline.cr
```
## Filters
- PlainTextInputFilter - HTML.escape
- MarkdownFilter
- AutolinkFilter - Autolink for any urls.
## Usage
```crystal
require "html-pipeline"
filters = [
HTML::Pipeline::PlainTextInputFilter,
HTML::Pipeline::MarkdownFilter,
HTML::Pipeline::AutolinkFilter,
] of HTML::Pipeline::Filter.class
pipeline = HTML::Pipeline.new(filters)
pipeline.call("Markdown context")
```
## LICENSE
MIT License
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.2.0- Tagged
- Apr 10, 2020
- Commit
cee1688553c9- Crystal
0.21.1- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/huacnlee/html-pipeline.cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 13, 2026
- Synced
- Aug 13, 2026
- Versions
- 1