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.2.13 lib/awestruct/org_modeable.rb
awestruct-0.2.12 lib/awestruct/org_modeable.rb
awestruct-0.2.11 lib/awestruct/org_modeable.rb
awestruct-0.2.10 lib/awestruct/org_modeable.rb
awestruct-0.2.9 lib/awestruct/org_modeable.rb
awestruct-0.2.8 lib/awestruct/org_modeable.rb
awestruct-0.2.7 lib/awestruct/org_modeable.rb
awestruct-0.2.6 lib/awestruct/org_modeable.rb
awestruct-0.2.5 lib/awestruct/org_modeable.rb
awestruct-0.2.4 lib/awestruct/org_modeable.rb
awestruct-0.2.3 lib/awestruct/org_modeable.rb
awestruct-0.2.2 lib/awestruct/org_modeable.rb
awestruct-0.2.1 lib/awestruct/org_modeable.rb
awestruct-0.2.0 lib/awestruct/org_modeable.rb
awestruct-0.1.9 lib/awestruct/org_modeable.rb
awestruct-0.1.8 lib/awestruct/org_modeable.rb
awestruct-0.1.7 lib/awestruct/org_modeable.rb
awestruct-0.1.6 lib/awestruct/org_modeable.rb
awestruct-0.1.5 lib/awestruct/org_modeable.rb
awestruct-0.1.4 lib/awestruct/org_modeable.rb