@hackage snipcheck0.1.0.1
Markdown tester
Categories
License
MIT
Maintainer
nicolas@nmattia.com
Links
- Homepage
- Documentation
- No source repository
- Security
Versions
Installation
Dependencies (4)
- base >=4.7 && <5
- containers >=0.5.7.1 && <0.6
- pandoc >=1.19.2.1 && <1.20
- process >=1.4.3.0 && <1.5 Show all…
Dependents (2)
@hackage/stutter, @hackage/acme-everything
Snipcheck
Snipcheck makes sure that the code snippets in markdown files are up-to-date.
This is very much a work in progress. The only function currently available is
checkMarkdownFile :: FilePath -> IO ()
that will run shell snippets and errored out if the output doesn't match the
snippet. You can skip some of the output with ....
Example:
# Some title
some markdown content
``` shell
$ echo foo; echo bar; echo baz; echo qux
foo
...
qux
```
some more content