Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Defines helper functions for creating jupyter notebooks.
Synopsis
- data Variation
- tr :: Doc -> Doc
- td :: Doc -> Doc
- figure :: Doc -> Doc
- li :: Doc -> Doc
- pa :: Doc -> Doc
- ba :: Doc -> Doc
- ol :: [String] -> Doc -> Doc
- ul :: [String] -> Doc -> Doc
- table :: [String] -> Doc -> Doc
- nbformat :: Doc -> Doc
- escapeStringForJson :: String -> String
- codeformat :: Doc -> Doc
- wrap :: String -> [String] -> Doc -> Doc
- wrap' :: String -> [String] -> Doc -> Doc
- wrapGen' :: ([Doc] -> Doc) -> Variation -> String -> Doc -> [String] -> Doc -> Doc
- refwrap :: Doc -> Doc -> Doc
- refID :: Doc -> Doc
- reflink :: String -> Doc -> Doc
- reflinkURI :: String -> Doc -> Doc
- image :: Doc -> Doc -> MaxWidthPercent -> Doc
- h :: Int -> Doc
- br :: Doc -> Doc
- mkDiv :: String -> Doc -> Doc -> Doc
- stripnewLine :: String -> Doc
- markdownB :: Doc
- markdownB' :: Doc
- markdownE :: Doc
- markdownE' :: Doc
- codeB :: Doc
- codeE :: Doc
- markdownCell :: Doc -> Doc
- codeCell :: Doc -> Doc
- makeMetadata :: Doc
Documentation
escapeStringForJson :: String -> String Source #
codeformat :: Doc -> Doc Source #
stripnewLine :: String -> Doc Source #
markdownB' :: Doc Source #
Helper for building Markdown cells
markdownE' :: Doc Source #
Helper for building Markdown cells
markdownCell :: Doc -> Doc Source #
Helper for generate a Markdown cell
makeMetadata :: Doc Source #
Generate the metadata necessary for a notebook document.