Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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:
A keyword at the front of a node heading, like TODO or DONE.
Currently underimplemented: stores the lines of the babel environment.
Currently underimplemented: stores the lines of the table.
Full contents of an org file.
OrgDoc | |
|
Children of top-level Org Nodes.
ChildText TextLine | Regular text. |
ChildDrawer Drawer | |
ChildNode Node | outline nodes of higher depth. |
ChildBabel Babel | |
ChildTable Table |
makeNodeLine :: Node -> String Source