Class Orgmode::Parser
In: lib/org-ruby/parser.rb
Parent: Object

Simple routines for loading / saving an ORG file.

Methods

Attributes

custom_keywords  [R]  Array of custom keywords.
header_lines  [R]  These are any lines before the first headline
headlines  [R]  All of the headlines in the org file
in_buffer_settings  [R]  This contains any in-buffer settings from the org-mode file. See orgmode.org/manual/In_002dbuffer-settings.html#In_002dbuffer-settings
lines  [R]  All of the lines of the orgmode file
options  [R]  This contains in-buffer options; a special case of in-buffer settings.

Public Class methods

Creates a new parser from the data in a given file

I can construct a parser object either with an array of lines or with a single string that I will split along \n boundaries.

Public Instance methods

Check include file availability and permissions

Regexp that recognizes words in custom_keywords.

A set of tags that, if present on any headlines in the org-file, means that subtree will not get exported.

Returns true if we are to export footnotes

Returns true if we are to export heading numbers.

A set of tags that, if present on any headlines in the org-file, means only those headings will get exported.

Should we export tables? Defaults to true, must be overridden with an explicit "nil"

Returns true if we are to export todo keywords on headings.

Get include data, when #+INCLUDE tag is used @link orgmode.org/manual/Include-files.html

Should we skip exporting text before the first heading?

Converts the loaded org-mode file to HTML.

Exports the Org mode content into Markdown format

Saves the loaded orgmode file as a textile file.

Should we export sub/superscripts? (_{foo}/^{foo}) only {} mode is currently supported.

[Validate]