commonmark-extensions-0.2.5.2: Pure Haskell commonmark parser.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Commonmark.Extensions.Footnote

Documentation

footnoteSpec :: (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