A SyntaxSpec defines a basic collection of syntax elements or an extension. SyntaxSpecs can be composed using monoidal mappend.
Constructors
SyntaxSpecsyntaxBlockSpecs :: [BlockSpec m il bl]Defines block structure
syntaxBracketedSpecs :: [BracketedSpec il]Defines bracketed inline containers (inli, image)
syntaxFormattingSpecs :: [FormattingSpec il]Defines formatted inline containers (strong, emph)
syntaxInlineParsers :: [InlineParser m il]Defines inline elements that don't contain inlines
syntaxFinalParsers :: [BlockParser m il bl bl]Run at the end of document, e.g. to collect footnotes
syntaxAttributeParsers :: forall u (m1 :: Type -> Type). Monad m1 => [ParsecT [Tok] u m1 Attributes]Parse attributes
Instances2Semigroup, Monoid
Semigroup (SyntaxSpec m il bl)Defined in commonmark-0.2.6 · Commonmark.SyntaxMonoid (SyntaxSpec m il bl)Defined in commonmark-0.2.6 · Commonmark.Syntax