š A pluggable markdown editor/viewer built with marked.
BitMD is being developed using bun as the package manager and vite as the package bundler which's cool :)
For VanillaJS,
new bitmd.BitMD({
target: document.querySelector("#app"),
props: {
value: "# Heading",
plugins: [
bitmd_plugin_katex(),
bitmd_plugin_highlight(),
]
}
});
Check out examples/vanilla for the full code snippet.
Here are plugins or bindings finished or being planned.
To develop, make sure you have bun installed on your device.
git clone https://github.com/mivinci/bitmd.git
cd bitmd
bun i
BitMD is MIT licensed.
Have fun :)