Copyright | © 2014 Parnell Springmeyer |
---|---|
License | All Rights Reserved |
Maintainer | Parnell Springmeyer <parnell@digitalmentat.com> |
Stability | stable |
Safe Haskell | None |
Language | Haskell2010 |
Parsing combinators for org-mode section property drawers.
- parseProperties :: Parser Text Properties
- property :: Parser Text (PropertyKey, PropertyVal)
- type PropertyKey = Text
- type PropertyVal = Text
Documentation
parseProperties :: Parser Text Properties Source #
Parse a PROPERTY
drawer.
:PROPERTIES: :DATE: [2014-12-14 11:00] :NOTE: Something really crazy happened today! :END:
property :: Parser Text (PropertyKey, PropertyVal) Source #
Parse a property of a drawer.
Properties *must* be a `:KEY: value` pair, the key can be of any case and contain any characters except for newlines and colons (since they delimit the start and end of the key).
type PropertyKey = Text Source #
type PropertyVal = Text Source #