orgmode-parse-0.2.2: 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.Drawer.Property

Description

Parsing combinators for org-mode section property drawers.

Synopsis

Documentation

parseProperties :: Parser Text.Text Properties Source #

Parse a PROPERTY drawer.

:PROPERTIES:
:DATE: [2014-12-14 11:00]
:NOTE: Something really crazy happened today!
:END:

property :: Parser Text.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).