commonmark-0.2.6: Pure Haskell commonmark parser.
Safe HaskellNone
LanguageHaskell2010

Commonmark.Inlines

Synopsis

Documentation

defaultInlineParser :: forall (m :: Type -> Type) a. (Monad m, IsInline a) => InlineParser m a #

data IPState (m :: Type -> Type) #

type InlineParser (m :: Type -> Type) = ParsecT [Tok] (IPState m) (StateT Enders m) #

Specifies delimiters for formatting, e.g. strong emphasis.

data FormattingSpec il #

Constructors

FormattingSpec 

Fields

Instances

Instances details
Show (FormattingSpec il) # 
Instance details

Defined in Commonmark.Inlines

data BracketedSpec il #

Constructors

BracketedSpec 

Fields

Instances

Instances details
Show (BracketedSpec il) # 
Instance details

Defined in Commonmark.Inlines

data LinkInfo #

Constructors

LinkInfo 

Fields

Instances

Instances details
Show LinkInfo # 
Instance details

Defined in Commonmark.ReferenceMap

pLinkLabel :: forall (m :: Type -> Type) s. Monad m => ParsecT [Tok] s m Text #

pLinkDestination :: forall (m :: Type -> Type) s. Monad m => ParsecT [Tok] s m [Tok] #

pLinkTitle :: forall (m :: Type -> Type) s. Monad m => ParsecT [Tok] s m [Tok] #

pEscaped :: forall (m :: Type -> Type) s. Monad m => ParsecT [Tok] s m Tok #

pEscapedSymbol :: forall (m :: Type -> Type) s. Monad m => ParsecT [Tok] s m Tok #

processEmphasis :: IsInline a => [Chunk a] -> [Chunk a] #

processBrackets :: IsInline a => [BracketedSpec a] -> ReferenceMap -> [Chunk a] -> [Chunk a] #

pBacktickSpan :: forall (m :: Type -> Type). Monad m => Tok -> InlineParser m (Either [Tok] [Tok]) #

withAttributes :: forall a (m :: Type -> Type). (IsInline a, Monad m) => InlineParser m a -> InlineParser m a #