commonmark-extensions-0.2.5.2: Pure Haskell commonmark parser.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Commonmark.Extensions.Attributes

Synopsis

Documentation

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

Allow attributes on everything.

class HasDiv bl where Source #

Methods

div_ :: bl -> bl Source #

Instances

Instances details
HasDiv (Html a) Source # 
Instance details

Defined in Commonmark.Extensions.Attributes

Methods

div_ :: Html a -> Html a Source #

(HasDiv bl, Semigroup bl) => HasDiv (WithSourceMap bl) Source # 
Instance details

Defined in Commonmark.Extensions.Attributes

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

class IsInline a => HasSpan a where Source #

Methods

spanWith :: Attributes -> a -> a Source #

Instances

Instances details
Rangeable (Html a) => HasSpan (Html a) Source # 
Instance details

Defined in Commonmark.Extensions.Attributes

Methods

spanWith :: Attributes -> Html a -> Html a Source #

(HasSpan i, Semigroup i, Monoid i) => HasSpan (WithSourceMap i) Source # 
Instance details

Defined in Commonmark.Extensions.Attributes

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

pAttributes :: forall u m. Monad m => ParsecT [Tok] u m Attributes Source #