qmetrics.net

Marked

Low-level markdown parser and HTML compiler

Marked screenshot

Marked parses Markdown and compiles it to HTML for browsers, servers, and the command line. It implements common Markdown, CommonMark, and GitHub Flavored Markdown features with extension hooks.

Overview

Marked is a markdown parser and compiler aimed at speed and a small footprint. It parses markdown without long blocking caches, implements features from supported flavors and specifications, and can be extended with custom rules. The same engine runs in browsers, on servers, and via a global CLI.

Installation is available through npm for library use or a global CLI. The CLI reads stdin, strings, or files and can load JSON or JavaScript configuration for default parse options. Marked actively tracks compliance tables for Markdown 1.0, CommonMark, and GitHub Flavored Markdown, including tables, task lists, and strikethrough where listed.

The project documents that output HTML is not sanitized automatically; callers are advised to run a separate sanitizer such as DOMPurify on untrusted input. Zero runtime dependencies are claimed, and many third-party tools list Marked for on-the-fly markdown rendering.

Advanced configuration and extension APIs allow tailoring rendering behavior, and the official documentation site itself is rendered using Marked according to project notes.

Key features

  • Markdown to HTML compilation
  • CommonMark and GFM flavor support
  • Browser, Node.js, and CLI usage
  • Custom extension hooks
  • Tree-friendly single-purpose parser
  • CLI config via JSON or JS files
  • No bundled sanitizer on output
  • Zero stated runtime dependencies

Use cases

  • Rendering README and docs sites
  • In-browser markdown preview components
  • Build-step HTML generation in CI
  • CLI conversion of markdown files
  • Embedding markdown in static site tools

Tags

Similar software

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

VitePress

Vite and Vue static site generator for docs

VitePress builds documentation and marketing sites from Markdown using Vue and Vite. It targets fast dev feedback and static HTML with client-side navigation.

★ 18.5k⟳ 16 days agoMIT

React Notion X

TypeScript React renderer for Notion pages

React Notion X renders Notion page content in React apps using fetched record maps. It is framework-agnostic, supports most block and database view types, and allows lazy-loaded heavy components.

★ 5.4k⟳ 1 month agoMIT

Taste Skill

Agent skill for designed company sites and browser QA

Taste Skill packages art direction, asset scripts, and headless browser checks so coding agents produce company websites with consistent layout, imagery, and copy rules.

★ 122.3k⟳ yesterdayMIT
AI Assisted CodingDesktop/CLI app

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

Hugo

Go-based static site generator with flexible templating

Hugo is a static site generator written in Go. It turns content and templates into deployable HTML sites with asset pipelines for CSS, JavaScript, Sass, and images.

★ 90.6k⟳ todayApache-2.0
Build & DeploymentDesktop/CLI app