Safe Haskell | None |
---|---|
Language | Haskell2010 |
Commonmark.Extensions.Attributes
Synopsis
- attributesSpec :: forall (m :: Type -> Type) il bl. (Monad m, IsInline il) => SyntaxSpec m il bl
- class HasDiv bl where
- div_ :: bl -> bl
- fencedDivSpec :: forall (m :: Type -> Type) il bl. (Monad m, IsInline il, IsBlock il bl, HasDiv bl) => SyntaxSpec m il bl
- class IsInline a => HasSpan a where
- spanWith :: Attributes -> a -> a
- bracketedSpanSpec :: forall (m :: Type -> Type) il bl. (Monad m, IsInline il, HasSpan il) => SyntaxSpec m il bl
- rawAttributeSpec :: forall (m :: Type -> Type) il bl. (Monad m, IsBlock il bl) => SyntaxSpec m il bl
- pAttributes :: forall u (m :: Type -> Type). Monad m => ParsecT [Tok] u m Attributes
Documentation
attributesSpec :: forall (m :: Type -> Type) il bl. (Monad m, IsInline il) => SyntaxSpec m il bl #
Allow attributes on everything.
Instances
HasDiv (Html a) # | |
Defined in Commonmark.Extensions.Attributes | |
(HasDiv bl, Semigroup bl) => HasDiv (WithSourceMap bl) # | |
Defined in Commonmark.Extensions.Attributes Methods div_ :: WithSourceMap bl -> WithSourceMap bl # |
fencedDivSpec :: forall (m :: Type -> Type) il bl. (Monad m, IsInline il, IsBlock il bl, HasDiv bl) => SyntaxSpec m il bl #
class IsInline a => HasSpan a where #
Methods
spanWith :: Attributes -> a -> a #
Instances
Rangeable (Html a) => HasSpan (Html a) # | |
Defined in Commonmark.Extensions.Attributes Methods spanWith :: Attributes -> Html a -> Html a # | |
(HasSpan i, Semigroup i, Monoid i) => HasSpan (WithSourceMap i) # | |
Defined in Commonmark.Extensions.Attributes Methods spanWith :: Attributes -> WithSourceMap i -> WithSourceMap i # |
bracketedSpanSpec :: forall (m :: Type -> Type) il bl. (Monad m, IsInline il, HasSpan il) => SyntaxSpec m il bl #
rawAttributeSpec :: forall (m :: Type -> Type) il bl. (Monad m, IsBlock il bl) => SyntaxSpec m il bl #
pAttributes :: forall u (m :: Type -> Type). Monad m => ParsecT [Tok] u m Attributes #