commonmark-pandoc-0.2.2.1: Bridge between commonmark and pandoc AST.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Commonmark.Pandoc

Documentation

newtype Cm b a Source #

Constructors

Cm 

Fields

Instances

Instances details
Functor (Cm b) Source # 
Instance details

Defined in Commonmark.Pandoc

Methods

fmap :: (a -> b0) -> Cm b a -> Cm b b0 #

(<$) :: a -> Cm b b0 -> Cm b a #

Monoid a => Monoid (Cm b a) Source # 
Instance details

Defined in Commonmark.Pandoc

Methods

mempty :: Cm b a #

mappend :: Cm b a -> Cm b a -> Cm b a #

mconcat :: [Cm b a] -> Cm b a #

Semigroup a => Semigroup (Cm b a) Source # 
Instance details

Defined in Commonmark.Pandoc

Methods

(<>) :: Cm b a -> Cm b a -> Cm b a #

sconcat :: NonEmpty (Cm b a) -> Cm b a #

stimes :: Integral b0 => b0 -> Cm b a -> Cm b a #

Show a => Show (Cm b a) Source # 
Instance details

Defined in Commonmark.Pandoc

Methods

showsPrec :: Int -> Cm b a -> ShowS #

show :: Cm b a -> String #

showList :: [Cm b a] -> ShowS #

HasAttributes (Cm a Blocks) Source # 
Instance details

Defined in Commonmark.Pandoc

HasAttributes (Cm a Inlines) Source # 
Instance details

Defined in Commonmark.Pandoc

Rangeable (Cm b Inlines) => IsInline (Cm b Inlines) Source # 
Instance details

Defined in Commonmark.Pandoc

Rangeable (Cm SourceRange Blocks) Source # 
Instance details

Defined in Commonmark.Pandoc

Rangeable (Cm SourceRange Inlines) Source # 
Instance details

Defined in Commonmark.Pandoc

Rangeable (Cm () Blocks) Source # 
Instance details

Defined in Commonmark.Pandoc

Methods

ranged :: SourceRange -> Cm () Blocks -> Cm () Blocks #

Rangeable (Cm () Inlines) Source # 
Instance details

Defined in Commonmark.Pandoc

Methods

ranged :: SourceRange -> Cm () Inlines -> Cm () Inlines #

Walkable Inline b => ToPlainText (Cm a b) Source # 
Instance details

Defined in Commonmark.Pandoc

Methods

toPlainText :: Cm a b -> Text #

Rangeable (Cm a Blocks) => HasDiv (Cm a Blocks) Source # 
Instance details

Defined in Commonmark.Pandoc

Methods

div_ :: Cm a Blocks -> Cm a Blocks #

Rangeable (Cm a Inlines) => HasSpan (Cm a Inlines) Source # 
Instance details

Defined in Commonmark.Pandoc

Methods

spanWith :: Attributes -> Cm a Inlines -> Cm a Inlines #

HasEmoji (Cm b Inlines) Source # 
Instance details

Defined in Commonmark.Pandoc

Methods

emoji :: Text -> Text -> Cm b Inlines #

HasMath (Cm b Inlines) Source # 
Instance details

Defined in Commonmark.Pandoc

Rangeable (Cm b Inlines) => HasQuoted (Cm b Inlines) Source # 
Instance details

Defined in Commonmark.Pandoc

HasStrikethrough (Cm a Inlines) Source # 
Instance details

Defined in Commonmark.Pandoc

Methods

strikethrough :: Cm a Inlines -> Cm a Inlines #

HasSubscript (Cm a Inlines) Source # 
Instance details

Defined in Commonmark.Pandoc

Methods

subscript :: Cm a Inlines -> Cm a Inlines #

HasSuperscript (Cm a Inlines) Source # 
Instance details

Defined in Commonmark.Pandoc

Methods

superscript :: Cm a Inlines -> Cm a Inlines #

HasWikilinks (Cm b Inlines) Source # 
Instance details

Defined in Commonmark.Pandoc

Methods

wikilink :: Text -> Cm b Inlines -> Cm b Inlines #

(Rangeable (Cm a Inlines), Rangeable (Cm a Blocks)) => IsBlock (Cm a Inlines) (Cm a Blocks) Source # 
Instance details

Defined in Commonmark.Pandoc

(Rangeable (Cm a Inlines), Rangeable (Cm a Blocks)) => HasAlerts (Cm a Inlines) (Cm a Blocks) Source # 
Instance details

Defined in Commonmark.Pandoc

Methods

alert :: AlertType -> Cm a Blocks -> Cm a Blocks #

(Rangeable (Cm a Inlines), Rangeable (Cm a Blocks)) => HasDefinitionList (Cm a Inlines) (Cm a Blocks) Source # 
Instance details

Defined in Commonmark.Pandoc

Methods

definitionList :: ListSpacing -> [(Cm a Inlines, [Cm a Blocks])] -> Cm a Blocks #

(Rangeable (Cm a Inlines), Rangeable (Cm a Blocks)) => HasFootnote (Cm a Inlines) (Cm a Blocks) Source # 
Instance details

Defined in Commonmark.Pandoc

Methods

footnote :: Int -> Text -> Cm a Blocks -> Cm a Blocks #

footnoteList :: [Cm a Blocks] -> Cm a Blocks #

footnoteRef :: Text -> Text -> Cm a Blocks -> Cm a Inlines #

HasPipeTable (Cm a Inlines) (Cm a Blocks) Source # 
Instance details

Defined in Commonmark.Pandoc

Methods

pipeTable :: [ColAlignment] -> [Cm a Inlines] -> [[Cm a Inlines]] -> Cm a Blocks #

(Rangeable (Cm a Inlines), Rangeable (Cm a Blocks)) => HasTaskList (Cm a Inlines) (Cm a Blocks) Source # 
Instance details

Defined in Commonmark.Pandoc

Methods

taskList :: ListType -> ListSpacing -> [(Bool, Cm a Blocks)] -> Cm a Blocks #