Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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 #
alertSvgText :: AlertType -> Text Source #
alertClass :: AlertType -> Text Source #
Constructors
NoteAlert | |
TipAlert | |
ImportantAlert | |
WarningAlert | |
CautionAlert |
Instances
Show AlertType Source # | |
Eq AlertType Source # | |
Ord AlertType Source # | |
class IsBlock il bl => HasAlerts il bl | il -> bl where Source #
Instances
Rangeable (Html a) => HasAlerts (Html a) (Html a) Source # | |
(HasAlerts il bl, Semigroup bl, Semigroup il) => HasAlerts (WithSourceMap il) (WithSourceMap bl) Source # | |
Defined in Commonmark.Extensions.Alerts Methods alert :: AlertType -> WithSourceMap bl -> WithSourceMap bl Source # |