reflex-dom-pandoc-0.6.0.0: Render Pandoc documents to HTML using reflex-dom

Safe HaskellNone
LanguageHaskell2010

Reflex.Dom.Pandoc.PandocRaw

Synopsis

Documentation

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 => Format -> Text -> m () Source #

Render a raw content of the given format TODO: Distinguish between inline vs block

Instances
PandocRaw m => PandocRaw (PostBuildT t m) Source # 
Instance details

Defined in Reflex.Dom.Pandoc.PandocRaw

Associated Types

type PandocRawConstraints (PostBuildT t m) :: Constraint Source #

Methods

elPandocRaw :: Format -> Text -> PostBuildT t m () Source #

PandocRaw m => PandocRaw (ReaderT a m) Source # 
Instance details

Defined in Reflex.Dom.Pandoc.PandocRaw

Associated Types

type PandocRawConstraints (ReaderT a m) :: Constraint Source #

Methods

elPandocRaw :: Format -> Text -> ReaderT a m () Source #

PandocRaw (StaticDomBuilderT t m) Source #

In a static builder, we accept whatever raw html that comes through.

Instance details

Defined in Reflex.Dom.Pandoc.PandocRaw