Tell me about markdown-parser

markdown-parser

This is a demo for markdown-parser, a stream-capable markdown parser, written in TypeScript.

Feel free to submit some messages using the textbox below and see markdown streaming in. What's interesting is that the markdown is incrementally parsed on the server and each top level block is streamed to the client as it's ready. Animating incoming blocks is very simple and efficient on the client device.

import { MarkdownParser } from "markdown-parser";

const parser = new MarkdownParser();
parser.parse("## Hello", { stream: true });
parser.parse(" world", { stream: true });

If you find the library useful, consider giving the project a star on GitHub.