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