Sha256: 55fa9b14023ca5fb39d158c520c6da4e3460e9bba6d3b5e1114b253e11294d5d
Contents?: true
Size: 1006 Bytes
Versions: 3
Compression:
Stored size: 1006 Bytes
Contents
require 'org-ruby' require 'org-converge/babel_output_buffer' require 'org-converge/babel' require 'org-converge/helpers' require 'org-converge/command' require 'org-converge/engine' require 'org-converge/version' module Orgmode class Parser # This would return a babel output buffer which has the methods # needed in order to be able to tangle the files def babelize mark_trees_for_export # Feed the parsed contens and create the necessary internal structures # for doing babel like features output = '' babel_options = { :in_buffer_settings => @in_buffer_settings } ob = BabelOutputBuffer.new(output, babel_options) translate(@header_lines, ob) @headlines.each do |headline| next if headline.export_state == :exclude translate(headline.body_lines, ob) end ob end end end require 'tco' conf = Tco.config conf.names["green"] = "#02a552" conf.names["red"] = "#eb443b" Tco.reconfigure conf
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
org-converge-0.0.17 | lib/org-converge.rb |
org-converge-0.0.16 | lib/org-converge.rb |
org-converge-0.0.15 | lib/org-converge.rb |