Text.Templating.Heist.Splices.Markdown
- data PandocMissingException = PandocMissingException
- data MarkdownException = MarkdownException ByteString
- data NoMarkdownFileException = NoMarkdownFileException
- markdownTag :: Text
- markdownSplice :: MonadIO m => Splice m
- pandoc :: FilePath -> FilePath -> FilePath -> IO ByteString
- pandocBS :: FilePath -> ByteString -> IO ByteString
- readProcessWithExitCode' :: FilePath -> [String] -> ByteString -> IO (ExitCode, ByteString, ByteString)
Documentation
data PandocMissingException Source
Constructors
| PandocMissingException |
data MarkdownException Source
Constructors
| MarkdownException ByteString |
data NoMarkdownFileException Source
Constructors
| NoMarkdownFileException |
Default name for the markdown splice.
markdownSplice :: MonadIO m => Splice mSource
Implementation of the markdown splice.
pandocBS :: FilePath -> ByteString -> IO ByteStringSource
readProcessWithExitCode'Source
Arguments
| :: FilePath | command to run |
| -> [String] | any arguments |
| -> ByteString | standard input |
| -> IO (ExitCode, ByteString, ByteString) | exitcode, stdout, stderr |