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 #

data AlertType Source #

Instances

Instances details
Show AlertType Source # 
Instance details

Defined in Commonmark.Extensions.Alerts

Methods

showsPrec :: Int -> AlertType -> ShowS

show :: AlertType -> String

showList :: [AlertType] -> ShowS

Eq AlertType Source # 
Instance details

Defined in Commonmark.Extensions.Alerts

Methods

(==) :: AlertType -> AlertType -> Bool

(/=) :: AlertType -> AlertType -> Bool

Ord AlertType Source # 
Instance details

Defined in Commonmark.Extensions.Alerts

Methods

compare :: AlertType -> AlertType -> Ordering

(<) :: AlertType -> AlertType -> Bool

(<=) :: AlertType -> AlertType -> Bool

(>) :: AlertType -> AlertType -> Bool

(>=) :: AlertType -> AlertType -> Bool

max :: AlertType -> AlertType -> AlertType

min :: AlertType -> AlertType -> AlertType

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

Methods

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