Simple Markdown parser in rust which is compiled to wasm
and presented to browser with svelte
cargo build
wasm-pack build
cargo test
cd web
and yarn
or npm install
cd web
and yarn dev
- unordered lists
- ordered lists
- simple texts
- Headings (#, ##, ###)
- Bold text, **text**
- Code `code`
- Anchor Links (x)[y]
md_parser is also available as a CLI tool
USAGE:
md_parser_wasm --file <input_file>
This is also published as an npm
package. Can be used in frontend projects using
npm i -S wasm_md_parser