@@ -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