qmetrics.net

Parsedown

Single-file PHP Markdown parser

Parsedown screenshot

Parsedown converts Markdown text to HTML in PHP with no extra dependencies. It targets speed, a small footprint, and optional hardening for untrusted input.

Overview

Parsedown is a Markdown parser implemented as one PHP file that projects can vendor or install through Composer. It focuses on a line-based reading strategy: the parser infers block structure from how lines begin, then processes inline syntax, which the author describes as distinct from many earlier PHP Markdown implementations.

The library supports GitHub Flavored Markdown and reports passing most CommonMark tests, with gaps mainly on uncommon edge cases. It can escape user content in generated HTML and offers a safe mode aimed at reducing cross-site scripting when rendering untrusted Markdown, plus guidance when allowing limited HTML.

Parsedown is used inside several PHP CMS and documentation stacks named in project materials, including Laravel, multiple flat-file CMS products, phpDocumentor, and Symfony demo projects. Inline-only parsing is supported for fragments without full document wrappers.

Key features

  • One-file implementation
  • No external dependencies
  • GitHub Flavored Markdown
  • CommonMark-oriented parsing
  • Safe mode for untrusted input
  • Inline Markdown parsing
  • Composer package install
  • Extensible design

Use cases

  • Rendering Markdown in PHP CMS sites
  • Converting user comments to HTML
  • Documentation pages in PHP apps
  • Lightweight blog or static content
  • Sanitized untrusted Markdown display

Tags

Similar software

Mermaid

Text-defined diagrams from Markdown-like syntax

Mermaid turns plain-text diagram definitions into flowcharts, sequence charts, Gantt charts, and many other diagram types. It renders in browsers, documentation tools, and GitHub Markdown.

★ 91.3k⟳ 5 days agoMIT

AFFiNE

Local-first workspace merging docs, whiteboards and databases with optional AI

AFFiNE is an open-source, local-first workspace that combines docs, an edgeless whiteboard canvas and databases, with optional AI assistance. It can be self-hosted with Docker and supports real-time collaboration.

★ 79.3k⟳ yesterdayMIT
Open Source Alternative to:CodaMiro+1

OpenSpec

Lightweight spec layer for AI-assisted software work

OpenSpec helps teams and coding agents agree on requirements in plain Markdown before code changes. A CLI initializes projects and integrates with many AI tools through skills.

★ 75.9k⟳ 3 days agoMIT

Docusaurus

React-based static site generator for documentation

Docusaurus builds documentation sites, blogs, and marketing pages from MDX content. It ships preset layouts and plugins so teams can publish quickly.

★ 66.8k⟳ todayMIT

Context7

Version-aware library documentation feed for coding agents

Pulls current docs and code examples into agent context via MCP tools or a ctx7 CLI skill, reducing stale API answers.

★ 65.5k⟳ todayMIT

tldr pages

Community-driven simplified command-line help pages

tldr pages collects practical examples for common CLI tools. Official clients let you read those pages instead of full man pages.

★ 64.3k⟳ todayMIT · open core