Sha256: 7b55a730207b56972f1c615c0b26735f135e50e9ab96adf97822c77fbcf49775

Contents?: true

Size: 202 Bytes

Versions: 27

Compression:

Stored size: 202 Bytes

Contents

require 'org-ruby'

module Awestruct
  module OrgModeable

    def render(context)
      Orgmode::Parser.new(raw_page_content).to_html
    end

    def output_extension
      'html'
    end

  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
awestruct-0.1.3 lib/awestruct/org_modeable.rb
awestruct-0.1.2 lib/awestruct/org_modeable.rb
awestruct-0.1.1 lib/awestruct/org_modeable.rb
awestruct-0.1.0 lib/awestruct/org_modeable.rb
awestruct-0.0.9 lib/awestruct/org_modeable.rb
awestruct-0.0.8 lib/awestruct/org_modeable.rb
awestruct-0.0.6 lib/awestruct/org_modeable.rb