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