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

Commonmark.Extensions.Alerts

Documentation

alertSpec :: (Monad m, Typeable m, IsBlock il bl, IsInline il, Typeable il, Typeable bl, HasAlerts il bl) => SyntaxSpec m il bl Source #

class IsBlock il bl => HasAlerts il bl | il -> bl where Source #

Methods

alert :: AlertType -> bl -> bl Source #

Instances

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

Defined in Commonmark.Extensions.Alerts

Methods

alert :: AlertType -> Html a -> Html a Source #

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

Defined in Commonmark.Extensions.Alerts