| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.OrgMode.Doc
- data Node = Node {}
- data Prefix = Prefix String
- data Drawer = Drawer {}
- data OrgFileProperty = OrgFileProperty {}
- data Babel = Babel [TextLine]
- data Table = Table [TextLine]
- data OrgDoc = OrgDoc {
- odNodes :: [Node]
- odProperties :: [OrgFileProperty]
- odLines :: [TextLine]
- data NodeChild
- updateNode :: (Node -> Maybe Node) -> Node -> Node
- trim :: [Char] -> [Char]
- makeNodeLine :: Node -> String
Documentation
An outline node in org-mode. For a node ** TODO Foo a bar :FOOBAR:
Constructors
| Node | |
A keyword at the front of a node heading, like TODO or DONE.
Constructors
| Drawer | |
data OrgFileProperty Source
Properties within the org file. Examples include #+TITLE:
Constructors
| OrgFileProperty | |
Currently underimplemented: stores the lines of the babel environment.
Currently underimplemented: stores the lines of the table.
Full contents of an org file.
Constructors
| OrgDoc | |
Fields
| |
Children of top-level Org Nodes.
Constructors
| ChildText TextLine | Regular text. |
| ChildDrawer Drawer | |
| ChildNode Node | outline nodes of higher depth. |
| ChildBabel Babel | |
| ChildTable Table |
makeNodeLine :: Node -> String Source