mirror of
https://github.com/fmap/muflax65ngodyewp.onion
synced 2024-07-04 11:10:41 +02:00
10 lines
154 B
Ruby
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
|