Crates.io | CorrosionMark |
lib.rs | CorrosionMark |
version | 0.1.1 |
source | src |
created_at | 2024-01-07 22:55:30.316319 |
updated_at | 2024-01-28 23:02:23.400396 |
description | This is a markdown parser libary |
homepage | |
repository | https://gitlab.com/sese1402/CorrosionMark |
max_upload_size | |
id | 1092071 |
size | 65,981 |
This is a simple Markdown parser written in Rust. It is designed to read Markdown files and convert to diffrent file formats.
To use this parser, add the following line to your Cargo.toml
file:
[dependencies]
md_parser = { git = "https://gitlab.com/sese1402/markdown-parser/"}
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);
}