commonmark-0.2.5.1: Pure Haskell commonmark parser.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Commonmark.Syntax

Synopsis

Documentation

data SyntaxSpec m il bl Source #

A SyntaxSpec defines a basic collection of syntax elements or an extension. SyntaxSpecs can be composed using monoidal mappend.

Constructors

SyntaxSpec 

Fields

Instances

Instances details
Monoid (SyntaxSpec m il bl) Source # 
Instance details

Defined in Commonmark.Syntax

Methods

mempty :: SyntaxSpec m il bl #

mappend :: SyntaxSpec m il bl -> SyntaxSpec m il bl -> SyntaxSpec m il bl #

mconcat :: [SyntaxSpec m il bl] -> SyntaxSpec m il bl #

Semigroup (SyntaxSpec m il bl) Source # 
Instance details

Defined in Commonmark.Syntax

Methods

(<>) :: SyntaxSpec m il bl -> SyntaxSpec m il bl -> SyntaxSpec m il bl #

sconcat :: NonEmpty (SyntaxSpec m il bl) -> SyntaxSpec m il bl #

stimes :: Integral b => b -> SyntaxSpec m il bl -> SyntaxSpec m il bl #

defaultSyntaxSpec :: (Monad m, IsBlock il bl, IsInline il) => SyntaxSpec m il bl Source #

Standard commonmark syntax.