-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | (Haskell or Literate Haskell) <-> Markdown converter
--
-- See the README.md
@package lima
@version 0.1.0.2
-- | Functions to convert Haskell to Markdown and between
-- Literate Haskell (.lhs) and Markdown.
module Converter
-- | Convert Haskell to Markdown.
--
-- Multi-line comments are copied as text blocks and Haskell
-- code is copied as Haskell snippets.
hsToMd :: ConfigHsMd -> String -> String
-- | Convert Markdown to Haskell.
--
-- Multi-line comments are copied as text blocks and Haskell
-- code is copied as Haskell snippets.
mdToHs :: ConfigHsMd -> String -> String
-- | Convert Literate Haskell to Markdown.
--
-- Convert LHS birdtick style to Markdown, replacing
-- the code marked by birdticks with ```haskell ... ```.
lhsToMd :: String -> String
-- | Convert Markdown file to Literate Haskell.
--
-- Replace code marked with ```haskell ...``` with birdticks
-- (>) and code marked with ``` ... ``` with reverse
-- birdticks (<).
mdToLhs :: String -> String
-- | App config.
newtype Config
Config :: Maybe ConfigHsMd -> Config
[configHsMd] :: Config -> Maybe ConfigHsMd
-- | Config for Haskell to Markdown converter.
newtype ConfigHsMd
ConfigHs2Md :: [String] -> ConfigHsMd
[specialComments] :: ConfigHsMd -> [String]
instance Data.Default.Class.Default Converter.ConfigHsMd
instance GHC.Generics.Generic Converter.ConfigHsMd
instance Data.Default.Class.Default Converter.Config
instance GHC.Generics.Generic Converter.Config
instance Data.Aeson.Types.FromJSON.FromJSON Converter.Config
instance Data.Aeson.Types.FromJSON.FromJSON Converter.ConfigHsMd