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
155 B
Ruby

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