lib.md
lib.md copied to clipboard
A Markdown parser and renderer library.
lib.md
A library offering a Markdown parser, AST, and renderer.
Examples
Run the deno task serve:examples command to get access to the examples in your web browser.
The file_render example requires deno with --allow-write and --allow-read, and a file path to a markdown file.
You can also visit the live Markdown previewer!
Usage
Deno
Add the library from JSR:
deno add @lambdaurora/libmd
Then import it:
import * as md from "@lambdaurora/libmd";
Web
Import the library using esm.sh:
import * as md from "https://esm.sh/jsr/@lambdaurora/[email protected]";