Copyright | Copyright (C) 2014 Tim T.Y. Lin |
---|---|
License | GNU GPL, version 2 or above |
Maintainer | Tim T.Y. Lin <timtylin@gmail.com> |
Stability | alpha |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
Utility functions for Scholarly Markdown extensions.
Documentation
classIsMath :: Attr -> Bool Source
classIsMathDef :: Attr -> Bool Source
processSingleEqn :: AttributedMath -> (AttributedMath, [String]) Source
processMultiEqn :: [AttributedMath] -> (AttributedMath, [String]) Source
dispMathToLaTeX :: Attr -> String -> String Source
figureIdToNumLabelHandler :: Attr -> ParserState -> (XRefIdentifiers -> [String]) -> (XRefIdentifiers -> [String] -> XRefIdentifiers) -> (Attr -> Attr, ParserState -> ParserState) Source
type AttributedMath = (Attr, String) Source
getImageAttr :: Inline -> Attr Source
getIdentifier :: Attr -> String Source
getClasses :: Attr -> [String] Source
getKeyVals :: Attr -> [(String, String)] Source
setIdentifier :: String -> Attr -> Attr Source
insertClass :: String -> Attr -> Attr Source
extractMetaStringList :: Maybe MetaValue -> [String] Source