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