Commonmark.Pandoc

commonmark-pandoc-0.2.3: Bridge between commonmark and pandoc AST.

Safe Haskell | None
Language | Haskell2010

Commonmark.Pandoc

# Documentation

newtype Cm b a #

Constructors

Cm |
Fields unCm :: a

#### Instances

Instances details

Functor (Cm b) # |
Instance details Defined in Commonmark.Pandoc Methods fmap :: (a -> b0) -> Cm b a -> Cm b b0 # (<$) :: a -> Cm b b0 -> Cm b a #
HasAttributes (Cm a Blocks) # |
Instance details Defined in Commonmark.Pandoc Methods addAttributes :: Attributes -> Cm a Blocks -> Cm a Blocks #
HasAttributes (Cm a Inlines) # |
Instance details Defined in Commonmark.Pandoc Methods addAttributes :: Attributes -> Cm a Inlines -> Cm a Inlines #
Rangeable (Cm b Inlines) => IsInline (Cm b Inlines) # |
Instance details Defined in Commonmark.Pandoc Methods lineBreak :: Cm b Inlines # softBreak :: Cm b Inlines # str :: Text -> Cm b Inlines # entity :: Text -> Cm b Inlines # escapedChar :: Char -> Cm b Inlines # emph :: Cm b Inlines -> Cm b Inlines # strong :: Cm b Inlines -> Cm b Inlines # link :: Text -> Text -> Cm b Inlines -> Cm b Inlines # image :: Text -> Text -> Cm b Inlines -> Cm b Inlines # code :: Text -> Cm b Inlines # rawInline :: Format -> Text -> Cm b Inlines #
Rangeable (Cm SourceRange Blocks) # |
Instance details Defined in Commonmark.Pandoc Methods ranged :: SourceRange -> Cm SourceRange Blocks -> Cm SourceRange Blocks #
Rangeable (Cm SourceRange Inlines) # |
Instance details Defined in Commonmark.Pandoc Methods ranged :: SourceRange -> Cm SourceRange Inlines -> Cm SourceRange Inlines #
Rangeable (Cm () Blocks) # |
Instance details Defined in Commonmark.Pandoc Methods ranged :: SourceRange -> Cm () Blocks -> Cm () Blocks #
Rangeable (Cm () Inlines) # |
Instance details Defined in Commonmark.Pandoc Methods ranged :: SourceRange -> Cm () Inlines -> Cm () Inlines #
Walkable Inline b => ToPlainText (Cm a b) # |
Instance details Defined in Commonmark.Pandoc Methods toPlainText :: Cm a b -> Text #
Rangeable (Cm a Blocks) => HasDiv (Cm a Blocks) # |
Instance details Defined in Commonmark.Pandoc Methods div_ :: Cm a Blocks -> Cm a Blocks #
Rangeable (Cm a Inlines) => HasSpan (Cm a Inlines) # |
Instance details Defined in Commonmark.Pandoc Methods spanWith :: Attributes -> Cm a Inlines -> Cm a Inlines #
HasEmoji (Cm b Inlines) # |
Instance details Defined in Commonmark.Pandoc Methods emoji :: Text -> Text -> Cm b Inlines #
HasMath (Cm b Inlines) # |
Instance details Defined in Commonmark.Pandoc Methods inlineMath :: Text -> Cm b Inlines # displayMath :: Text -> Cm b Inlines #
Rangeable (Cm b Inlines) => HasQuoted (Cm b Inlines) # |
Instance details Defined in Commonmark.Pandoc Methods singleQuoted :: Cm b Inlines -> Cm b Inlines # doubleQuoted :: Cm b Inlines -> Cm b Inlines #
HasStrikethrough (Cm a Inlines) # |
Instance details Defined in Commonmark.Pandoc Methods strikethrough :: Cm a Inlines -> Cm a Inlines #
HasSubscript (Cm a Inlines) # |
Instance details Defined in Commonmark.Pandoc Methods subscript :: Cm a Inlines -> Cm a Inlines #
HasSuperscript (Cm a Inlines) # |
Instance details Defined in Commonmark.Pandoc Methods superscript :: Cm a Inlines -> Cm a Inlines #
HasWikilinks (Cm b Inlines) # |
Instance details Defined in Commonmark.Pandoc Methods wikilink :: Text -> Cm b Inlines -> Cm b Inlines #
Monoid a => Monoid (Cm b a) # |
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) # |
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) # |
Instance details Defined in Commonmark.Pandoc Methods showsPrec :: Int -> Cm b a -> ShowS # show :: Cm b a -> String # showList :: [Cm b a] -> ShowS #
(Rangeable (Cm a Inlines), Rangeable (Cm a Blocks)) => IsBlock (Cm a Inlines) (Cm a Blocks) # |
Instance details Defined in Commonmark.Pandoc Methods paragraph :: Cm a Inlines -> Cm a Blocks # plain :: Cm a Inlines -> Cm a Blocks # thematicBreak :: Cm a Blocks # blockQuote :: Cm a Blocks -> Cm a Blocks # codeBlock :: Text -> Text -> Cm a Blocks # heading :: Int -> Cm a Inlines -> Cm a Blocks # rawBlock :: Format -> Text -> Cm a Blocks # referenceLinkDefinition :: Text -> (Text, Text) -> Cm a Blocks # list :: ListType -> ListSpacing -> [Cm a Blocks] -> Cm a Blocks #
(Rangeable (Cm a Inlines), Rangeable (Cm a Blocks)) => HasAlerts (Cm a Inlines) (Cm a Blocks) # |
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) # |
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) # |
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) # |
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) # |
Instance details Defined in Commonmark.Pandoc Methods taskList :: ListType -> ListSpacing -> [(Bool, Cm a Blocks)] -> Cm a Blocks #