erusev/parsedown

Better Markdown Parser in PHP

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 1 hour ago
Added to GitGenius on September 3rd, 2026
Created on July 10th, 2013
Open Issues & Pull Requests: 180 (+0)
GitHub issues: Enabled
Number of forks: 1,135
Total Stargazers: 15,059 (+0)
Total Subscribers: 213 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 30.4 days
Mean response time: 212.5 days
90th percentile: 383.1 days
Tracked items: 33

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 1% of issues opened in the past year have been closed. Three people close 75% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 27
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 648 days
Stale 30+ days: 25
Stale 90+ days: 23

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (1)
  • feature request (1)
  • question (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Parsedown is a Markdown parser written in PHP that converts Markdown syntax into HTML.

The tool addresses the need for fast, dependency-free Markdown parsing in PHP applications. It uses a line-based parsing approach, examining how lines start to recognize block-level elements like lists and headings, then scanning for special characters to identify inline elements. This method allows it to process Markdown in a way that mirrors human reading patterns.

Parsedown suits projects requiring lightweight Markdown rendering without external dependencies. It works as a single file that can be installed via Composer or downloaded directly, making it straightforward to integrate into existing PHP applications. The parser supports GitHub-flavored Markdown and passes most CommonMark compliance tests, though some uncommon edge cases may not align with the CommonMark specification. An optional Markdown Extra extension is available for projects needing additional syntax support. For handling untrusted user input, the tool provides a safe mode that escapes HTML and sanitizes scripting vectors introduced by Markdown syntax itself, though the README recommends pairing this with a dedicated HTML sanitizer and content security policies for defense-in-depth protection.

The project maintains a stable, mature codebase with established patterns for extension and customization. Development activity shows consistent attention to security concerns, with explicit documentation of safe-mode behavior and XSS prevention strategies. The tool has achieved widespread adoption across multiple content management systems and frameworks, indicating both reliability and community confidence in its approach.