hash-tag
<#>
Markdown to HTML Parser written in rust, built with wasm, for direct usage in javascript.
Features
- Parses headings, blockquotes, inline code, codeblock, paragraphs, links, bold, italics, unordered lists and ordered list.
- Visualize outputs using frames ui.
Usage
Using cargo
- Use
run
Generates a
index.htmlfile
- Specify output file using
-oflag
- Visualize output file using
-vflag
This uses frames ui.
Using npm
- Create a node environment
- Add
"type": "module",topackage.jsonfile.
- Create a new file
index.jsand write the code as:
import * as wasm from "./pkg/hash_tag.js";
const html = wasm.;
console.log;
- Run using
- Outputs
heading 2