commonmark-extensions-0.2.6: Pure Haskell commonmark parser.

Safe Haskell | None
Language | Haskell2010

Commonmark.Extensions.Footnote

# Documentation

footnoteSpec :: forall (m :: Type -> Type) il bl. (Monad m, Typeable m, IsBlock il bl, IsInline il, Typeable il, Typeable bl, HasFootnote il bl) => SyntaxSpec m il bl Source #

class IsBlock il bl => HasFootnote il bl | il -> bl where Source #

Methods

footnote :: Int -> Text -> bl -> bl Source #

footnoteList :: [bl] -> bl Source #

footnoteRef :: Text -> Text -> bl -> il Source #

#### Instances

Instances details

Rangeable (Html a) => HasFootnote (Html a) (Html a) Source # |
Instance details Defined in Commonmark.Extensions.Footnote Methods footnote :: Int -> Text -> Html a -> Html a Source # footnoteList :: [Html a] -> Html a Source # footnoteRef :: Text -> Text -> Html a -> Html a Source #
(HasFootnote il bl, Semigroup bl, Semigroup il) => HasFootnote (WithSourceMap il) (WithSourceMap bl) Source # |
Instance details Defined in Commonmark.Extensions.Footnote Methods footnote :: Int -> Text -> WithSourceMap bl -> WithSourceMap bl Source # footnoteList :: [WithSourceMap bl] -> WithSourceMap bl Source # footnoteRef :: Text -> Text -> WithSourceMap bl -> WithSourceMap il Source #