Class: Nanoc::OrgMode::Filter
- Inherits:
-
Filter
- Object
- Filter
- Nanoc::OrgMode::Filter
- Defined in:
- lib/nanoc/org_mode/filter.rb
Instance Method Summary collapse
-
#run(content, _params = {}) ⇒ String
Runs the content through [Org Mode](orgmode.org/) via [org-ruby](github.com/wallyqs/org-ruby).
Instance Method Details
#run(content, _params = {}) ⇒ String
Runs the content through [Org Mode](orgmode.org/) via [org-ruby](github.com/wallyqs/org-ruby).
14 15 16 |
# File 'lib/nanoc/org_mode/filter.rb', line 14 def run(content, _params = {}) ::Orgmode::Parser.new(content).to_html end |