git.iko.soy/typeable/pandoc
on master help sign in
Clarified field values in RstCustomRoles.
commit66fd9bf7595cd97ccd24b0d64748c852dc604ce8 authorMerijn Verstraaten <merijn@inconsistent.nl> dateSat 15 Feb 2014, 17:57 (13 years ago) parentfe246ce
1 file changed+4
src/Text/Pandoc/Parsing.hs+4
src/Text/Pandoc/Parsing.hs+4
@@ -854,6 +854,10 @@ data ParserState = ParserState
854854 stateMacros :: [Macro], -- ^ List of macros defined so far
855855 stateRstDefaultRole :: String, -- ^ Current rST default interpreted text role
856856 stateRstCustomRoles :: M.Map String (String, Maybe String, Attr -> (String, Attr)), -- ^ Current rST custom text roles
857+ -- Triple represents: 1) Base role, 2) Optional format (only for :raw:
858+ -- roles), 3) Source language annotation for code (could be used to
859+ -- annotate role classes too).
860+
857861 stateWarnings :: [String] -- ^ Warnings generated by the parser
858862 }
859863