Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 #
Instances
Eq PandocRawNode Source # | |
Defined in Reflex.Dom.Pandoc.Raw (==) :: PandocRawNode -> PandocRawNode -> Bool # (/=) :: PandocRawNode -> PandocRawNode -> Bool # | |
Show PandocRawNode Source # | |
Defined in Reflex.Dom.Pandoc.Raw 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
type PandocRawConstraints m :: Constraint Source #
The constraints required to render
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 type PandocRawConstraints (HydratableT m) Source # elPandocRaw :: PandocRawNode -> HydratableT m () Source # | |
PandocRaw m => PandocRaw (ReaderT a m) Source # | |
Defined in Reflex.Dom.Pandoc.Raw type PandocRawConstraints (ReaderT a m) Source # elPandocRaw :: PandocRawNode -> ReaderT a m () Source # | |
PandocRaw m => PandocRaw (PostBuildT t m) Source # | |
Defined in Reflex.Dom.Pandoc.Raw type PandocRawConstraints (PostBuildT t m) Source # 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 type PandocRawConstraints (StaticDomBuilderT t m) Source # elPandocRaw :: PandocRawNode -> StaticDomBuilderT t m () Source # |