vidarh / filters

Experimental set of line oriented text filters

Home Page:http://www.hokstad.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Filters

The "filters" package provides a stream oriented way of chaining small filters that operate on lines of text.

For example, one filter provided passes the text through RDiscount for Markdown rendering, while another adds classes to "pre" text, like this:

-grammar- This bit has the "grammar" class set

This bit on the other hand:

-ruby- class Foo def bar puts "Hello" end end

... has the Ruby class set

Consider this experimental, and the API is likely to change and break, so please don't depend on it unless you're either willing to keep tracking my changes, or fork it.

About

Experimental set of line oriented text filters

http://www.hokstad.com/


Languages

Language:Ruby 100.0%