1
0
Fork 0
mirror of https://github.com/fmap/muflax65ngodyewp.onion synced 2024-06-26 10:26:48 +02:00
muflax65ngodyewp.onion/lib/org_mode_filer.rb
2012-02-16 23:57:45 +01:00

10 lines
154 B
Ruby

require 'org-ruby'
class OrgFilter < Nanoc::Filter
identifier :org
def run(content, params={})
Orgmode::Parser.new(content).to_html
end
end