orgmode-parse-0.1.1.3: A collection of Attoparsec combinators for parsing org-mode flavored documents.

Copyright© 2014 Parnell Springmeyer
LicenseAll Rights Reserved
MaintainerParnell Springmeyer <parnell@digitalmentat.com>
Stabilitystable
Safe HaskellNone
LanguageHaskell2010

Data.OrgMode.Parse.Attoparsec.PropertyDrawer

Description

Parsing combinators for org-mode entry property drawers.

Synopsis

Documentation

parseDrawer :: 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).