org v0.1.0 Org.Paragraph

Represents an uninterrupted list of lines. Paragraphs are separated by one or more newlines.

Example:

iex> doc = Org.Parser.parse("Foo\nBar\n\nBaz")
iex> doc.contents
[%Org.Paragraph{lines: ["Foo", "Bar"]}, %Org.Paragraph{lines: ["Baz"]}]

Link to this section Summary

Functions

Constructs a new paragraph from given list of lines

Prepends a line to the list of lines. Used by the parser

Link to this section Functions

Constructs a new paragraph from given list of lines

Link to this function prepend_line(paragraph, line)

Prepends a line to the list of lines. Used by the parser.