commonmark-extensions-0.2.6: Pure Haskell commonmark parser.
Safe HaskellNone
LanguageHaskell2010

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 #

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

Methods

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

footnoteList :: [bl] -> bl #

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

Instances

Instances details
Rangeable (Html a) => HasFootnote (Html a) (Html a) # 
Instance details

Defined in Commonmark.Extensions.Footnote

Methods

footnote :: Int -> Text -> Html a -> Html a #

footnoteList :: [Html a] -> Html a #

footnoteRef :: Text -> Text -> Html a -> Html a #

(HasFootnote il bl, Semigroup bl, Semigroup il) => HasFootnote (WithSourceMap il) (WithSourceMap bl) # 
Instance details

Defined in Commonmark.Extensions.Footnote