| Crates.io | markdown-to-html |
| lib.rs | markdown-to-html |
| version | 0.1.3 |
| created_at | 2021-10-02 14:18:50.080202+00 |
| updated_at | 2022-07-22 08:26:26.974659+00 |
| description | Markdown parser that runs at hyper speeds! |
| homepage | |
| repository | https://github.com/HGHimself/prose |
| max_upload_size | |
| id | 459439 |
| size | 43,728 |
Prose is here to let you draft up a document and watch it render in real time.
Prose is here to let you draft up a document and watch it render in real time.
If you want to use this HTML elsewhere, just click the button above to switch the view to raw, unrendered HTML. This way you can copy&paste is anywhere you'd like.
When it is time to save your work, Prose gives you the ability download your document as an .md file.
Easy! You will need a few things.
rust from the rust-lang site.wasm-pack which is a crate from cargo. Just run cargo install wasm-pack.wasm-pack build to compile all of of the code into a wasm npm package.npm from the npm site.npm run serve in the www directory.https://localhost:8080 in your browser!inline_codeYou may be asking: What makes this better than any other markdown parser? Well, this is implemented in a very performant systems programming language and is much much faster. Using WebAssembly, we have been able to compile this code into a format that runs super fast in the browser's JavaScript engine. You probably will see above a benchmark on how long it took to parse this. I have done my own measurements and found most tools are 30-50 times slower. Not a good look :(