lib.md
A library offering a Markdown parser, AST, and renderer, with an HTML parser and AST included.
Examples
Run a webserver in this directory (if you have it type http-server . -p 8080
) then open localhost:8080/examples/rendering_simple/
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!
Use
To use the library:
import { md, html } from "https://deno.land/x/libmd@v<version>/mod.mjs";