Module: Awestruct::Orgmodeable
- Included in:
- OrgmodeFile
- Defined in:
- lib/awestruct/orgmodeable.rb
Instance Method Summary collapse
Instance Method Details
#output_extension ⇒ Object
10 11 12 |
# File 'lib/awestruct/orgmodeable.rb', line 10 def output_extension 'html' end |
#render(context) ⇒ Object
6 7 8 |
# File 'lib/awestruct/orgmodeable.rb', line 6 def render(context) Orgmode::Parser.new(raw_page_content).to_html end |