1
0
Fork 0
mirror of https://github.com/fmap/muflax65ngodyewp.onion synced 2024-07-01 10:46:49 +02:00
muflax65ngodyewp.onion/lib/org_mode_filer.rb

10 lines
154 B
Ruby
Raw Normal View History

require 'org-ruby'
2012-02-16 23:17:17 +01:00
class OrgFilter < Nanoc::Filter
identifier :org
def run(content, params={})
Orgmode::Parser.new(content).to_html
end
end