| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Commonmark.Extensions.Alerts
Documentation
alertSpec :: forall (m :: Type -> Type) il bl. (Monad m, Typeable m, IsBlock il bl, IsInline il, Typeable il, Typeable bl, HasAlerts il bl) => SyntaxSpec m il bl #
alertSvgText :: AlertType -> Text #
alertClass :: AlertType -> Text #
Constructors
| NoteAlert | |
| TipAlert | |
| ImportantAlert | |
| WarningAlert | |
| CautionAlert |
Instances
| Show AlertType # | |
| Eq AlertType # | |
| Ord AlertType # | |
class IsBlock il bl => HasAlerts il bl | il -> bl where #
Instances
| Rangeable (Html a) => HasAlerts (Html a) (Html a) # | |
| (HasAlerts il bl, Semigroup bl, Semigroup il) => HasAlerts (WithSourceMap il) (WithSourceMap bl) # | |
Defined in Commonmark.Extensions.Alerts Methods alert :: AlertType -> WithSourceMap bl -> WithSourceMap bl # | |