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

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

Data.OrgMode.Parse.Attoparsec.Drawer.Generic

Description

Parsing combinators for org-mode section generic drawers.

Synopsis

Documentation

parseDrawer :: Parser Text.Text Drawer Source #

Parse a user-defined drawer.

:MYTEXT:
whatever I want, can go in here except for headlines and drawers
:END:

parseDrawerDelim :: Text.Text -> Parser Text.Text Text.Text Source #

Parse drawer delimiters, e.g the beginning and end of a property drawer:

:PROPERTIES:
:END:

drawerEnd :: Parser Text.Text Text.Text Source #

Parse the :END: of a drawer.