Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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 #
footnote :: Int -> Text -> bl -> bl Source #
footnoteList :: [bl] -> bl Source #
footnoteRef :: Text -> Text -> bl -> il Source #
Instances
Rangeable (Html a) => HasFootnote (Html a) (Html a) Source # | |
(HasFootnote il bl, Semigroup bl, Semigroup il) => HasFootnote (WithSourceMap il) (WithSourceMap bl) Source # | |
Defined in Commonmark.Extensions.Footnote footnote :: Int -> Text -> WithSourceMap bl -> WithSourceMap bl Source # footnoteList :: [WithSourceMap bl] -> WithSourceMap bl Source # footnoteRef :: Text -> Text -> WithSourceMap bl -> WithSourceMap il Source # |