reflex-dom-pandoc-1.0.0.0: Render Pandoc documents to HTML using reflex-dom
Safe HaskellNone
LanguageHaskell2010

Reflex.Dom.Pandoc.Raw

Description

This module exists primarily so as to provide an alternative to elDynHtml` that works with the static builder. elRawHtml is pretty much what you typically need; and if you are on GHCJS, you should define how it will behave via writing instances for PandocRaw.

Synopsis

Documentation

elRawHtml :: RawBuilder m => Text -> 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

Instances details
PandocRaw m => PandocRaw (HydratableT m) Source # 
Instance details

Defined in Reflex.Dom.Pandoc.Raw

Associated Types

type PandocRawConstraints (HydratableT m) Source #

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

Defined in Reflex.Dom.Pandoc.Raw

Associated Types

type PandocRawConstraints (ReaderT a m) Source #

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

Defined in Reflex.Dom.Pandoc.Raw

Associated Types

type PandocRawConstraints (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.

Instance details

Defined in Reflex.Dom.Pandoc.Raw

Associated Types

type PandocRawConstraints (StaticDomBuilderT t m) Source #