Crates.io | linemd |
lib.rs | linemd |
version | 0.4.0 |
source | src |
created_at | 2021-02-16 06:14:44.06769 |
updated_at | 2021-06-27 22:20:08.001378 |
description | A simple and opinionated markdown parser (and renderer) written in Rust. |
homepage | |
repository | https://github.com/yusdacra/linemd |
max_upload_size | |
id | 355872 |
size | 53,423 |
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.