Skip to content

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

Notifications You must be signed in to change notification settings

gokulcodes/markdown-parser

Repository files navigation

📦 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

npm

✅ 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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published