@gokulvaradan/markdown-parser
v1.0.10
Published
A lightweight, modular Markdown-to-HTML parser that supports all essential markdown features—including headings, lists, tables, blockquotes, code blocks, multimedia embedding, and rich word formatting.
Maintainers
Readme
📦 Markdown Parser
A lightweight, modular Markdown-to-HTML parser that supports all essential markdown features—including headings, lists, tables, blockquotes, code blocks, multimedia embedding, and rich word formatting.
NPM Package
✅ Features
- ✔️ Headings (
#,##, …######) - ✔️ Paragraphs and spans
- ✔️ Ordered & Unordered Lists
- ✔️ Inline & Multiline Code Blocks
- ✔️ Blockquotes
- ✔️ Tables with auto-alignment
- ✔️ Images & Videos
- ✔️ Horizontal Rules (
---) - ✔️ Word Formatting:
- Bold, Italic, ~~Strikethrough~~, Underline, ==Highlight==, Links
⚙️ Usage
import markdown from "markdown-parser"; // import package
const markdownContent = "# Markdown Parser";
const html = markdown.parse(markdownContent);
console.log(html); // <h1>Markdown Parser</h1>🧩 Ideal For
- Static site generators
- Blog engines
- Custom content renderers
- Markdown preview tools
- Educational tools or online editors
