4 releases
0.1.1 | Jan 28, 2024 |
---|---|
0.1.0 | Jan 28, 2024 |
0.0.1 | Jan 17, 2024 |
0.0.0 | Jan 7, 2024 |
#266 in #format
62KB
2K
SLoC
My Rust Markdown Parser
This is a simple Markdown parser written in Rust. It is designed to read Markdown files and convert to diffrent file formats.
Installation
To use this parser, add the following line to your Cargo.toml
file:
[dependencies]
md_parser = { git = "https://gitlab.com/sese1402/markdown-parser/"}
Usage
convert to AST Model
use md_parser::parse_to_ASTModel;
fn main() {
let markdown_text = "## Example\n\nThis is an **example** of using the Markdown parser.";
let output = parse_to_ast_model(markdown_text);
println!("{:#?}", output);
}
Features
- convert to AST Model html file
Dependencies
~1–1.7MB
~36K SLoC