org-ruby
| Status: | Under Development |
| Location: | http://github.com/wallyqs/org-ruby |
| Version: | 0.9.0 |
Helpful Ruby routines for parsing orgmode files. The most significant thing this library does today is convert orgmode files to textile. Currently, you cannot do much to customize the conversion. The supplied textile conversion is optimized for extracting “content” from the orgfile as opposed to “metadata.”
#+INCLUDE: is not supported
module GitHub
module Markup
VERSION = 'test'
Version = VERSION
end
end
See? This paragraph is part of the last bullet.
to_html output on the parser.code, verbatim, underline,
def flush!
@logger.debug "FLUSH ==========> #{@output_type}"
if (@output_type == :blank) then
@output << "\n"
elsif (@buffer.length > 0) then
if @cancel_modifier then
@output << "p. " if @output_type == :paragraph
@cancel_modifier = false
end
@output << @paragraph_modifier if (@paragraph_modifier and not sticky_modifier?)
@output << @buffer.textile_substitution << "\n"
end
@buffer = ""
end
OutputBuffer class that
greatly simplified a lot of the messiness of textile
conversion.