Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
convertToMd :: String -> String Source #
converts a files contents from the LHS birdtick style to markdown, replacing the code marked by birdticks with ```haskell ... ```
convertToLhs :: String -> String Source #
converts a files contents from git flavoured markdown to literate haskell, replacing code marked with ```haskell ...``` with > birdticks and code marked with ``` ... ``` with < birdticks quotes are converted to `NOTE:` marked lines.