linemd
is a simple, no dependencies, markdown parser and renderer.
std
, only depends on alloc
and core
.Vec
).html
and svg
features enabled respectively.
html
feature is enabled.cargo install linemd
nix profile install github:yusdacra/linemd
nix run install github:yusdacra/linemd
nix-env -i -f "https://github.com/yusdacra/linemd/tarball/master"
See the library documentation for library usage.
CLI usage: ``` renders a markdown file
usage: linemd FILE Reads from file linemd - Reads from stdin
options: -h, --help Prints this text -S, --svg Renders to SVG instead of HTML
exit codes: 0 Everything was successful 1 Failed to read the given file 2 Failed to read from stdin ```
Also see examples directory.