aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMerijn Verstraaten <merijn@inconsistent.nl>2014-02-15 17:57:08 +0100
committerMerijn Verstraaten <merijn@inconsistent.nl>2014-02-15 17:57:08 +0100
commit66fd9bf7595cd97ccd24b0d64748c852dc604ce8 (patch)
tree56e191f99a973f8b28e5d6aadb146cf6ac88b72d
parentfe246ce01c4c523b7391d58d910af09bf3bac6e6 (diff)
downloadpandoc-66fd9bf7595cd97ccd24b0d64748c852dc604ce8.tar.gz
Clarified field values in RstCustomRoles.
-rw-r--r--src/Text/Pandoc/Parsing.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Parsing.hs b/src/Text/Pandoc/Parsing.hs
index 0713f4a96..2bc351db3 100644
--- a/src/Text/Pandoc/Parsing.hs
+++ b/src/Text/Pandoc/Parsing.hs
@@ -854,6 +854,10 @@ data ParserState = ParserState
stateMacros :: [Macro], -- ^ List of macros defined so far
stateRstDefaultRole :: String, -- ^ Current rST default interpreted text role
stateRstCustomRoles :: M.Map String (String, Maybe String, Attr -> (String, Attr)), -- ^ Current rST custom text roles
+ -- Triple represents: 1) Base role, 2) Optional format (only for :raw:
+ -- roles), 3) Source language annotation for code (could be used to
+ -- annotate role classes too).
+
stateWarnings :: [String] -- ^ Warnings generated by the parser
}