very-small-parser JS Library Example

Download Back To CSSScript.Com

A small, dependency-free JavaScript library to parse Markdown, HTML, and inline CSS.

const text = 'CSS __Script__!';
const ast = markdown.block.parse(text);
document.getElementById("output").innerHTML = `${JSON.stringify(ast, null, 2)}`;