| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Reflex.Dom.Pandoc.Raw
Description
Synopsis
- type RawBuilder m = (PandocRaw m, PandocRawConstraints m)
- elRawHtml :: RawBuilder m => Text -> m ()
- data PandocRawNode
- elPandocRawNodeSafe :: DomBuilder t m => PandocRawNode -> m ()
- class PandocRaw m where
- type PandocRawConstraints m :: Constraint
- elPandocRaw :: PandocRawConstraints m => PandocRawNode -> m ()
Documentation
type RawBuilder m = (PandocRaw m, PandocRawConstraints m) Source #
elRawHtml :: RawBuilder m => Text -> m () Source #
data PandocRawNode Source #
Constructors
| PandocRawNode_Block Format Text | |
| PandocRawNode_Inline Format Text |
Instances
| Eq PandocRawNode Source # | |
Defined in Reflex.Dom.Pandoc.Raw Methods (==) :: PandocRawNode -> PandocRawNode -> Bool # (/=) :: PandocRawNode -> PandocRawNode -> Bool # | |
| Show PandocRawNode Source # | |
Defined in Reflex.Dom.Pandoc.Raw Methods showsPrec :: Int -> PandocRawNode -> ShowS # show :: PandocRawNode -> String # showList :: [PandocRawNode] -> ShowS # | |
elPandocRawNodeSafe :: DomBuilder t m => PandocRawNode -> m () Source #
class PandocRaw m where Source #
Class to define how to render pandoc raw nodes
Associated Types
type PandocRawConstraints m :: Constraint Source #
The constraints required to render
Methods
elPandocRaw :: PandocRawConstraints m => PandocRawNode -> m () Source #
Render a raw content of the given format
Instances
| PandocRaw m => PandocRaw (HydratableT m) Source # | |
Defined in Reflex.Dom.Pandoc.Raw Associated Types type PandocRawConstraints (HydratableT m) Source # Methods elPandocRaw :: PandocRawNode -> HydratableT m () Source # | |
| PandocRaw m => PandocRaw (ReaderT a m) Source # | |
Defined in Reflex.Dom.Pandoc.Raw Associated Types type PandocRawConstraints (ReaderT a m) Source # Methods elPandocRaw :: PandocRawNode -> ReaderT a m () Source # | |
| PandocRaw m => PandocRaw (PostBuildT t m) Source # | |
Defined in Reflex.Dom.Pandoc.Raw Associated Types type PandocRawConstraints (PostBuildT t m) Source # Methods elPandocRaw :: PandocRawNode -> PostBuildT t m () Source # | |
| PandocRaw (StaticDomBuilderT t m) Source # | In a static builder, we accept whatever raw html that comes through. Non-html formats are rendered as-is. |
Defined in Reflex.Dom.Pandoc.Raw Associated Types type PandocRawConstraints (StaticDomBuilderT t m) Source # Methods elPandocRaw :: PandocRawNode -> StaticDomBuilderT t m () Source # | |