Marker

raw JSON →
0.1.2 verified Fri May 01 auth: no javascript abandoned

A command-line utility for compiling markdown files with live file watching. The current stable version is 0.1.2, released in 2013. It provides basic markdown-to-HTML conversion with support for GitHub Flavored Markdown (GFM), sanitized output, and pedantic mode for strict compliance with markdown.pl. No updates or maintenance in over a decade, making it suitable only for legacy or archival use. Key differentiators include its simplicity and live watch functionality, but it lacks modern features like CommonMark, plugins, or programmatic API.

error marker: command not found
cause Global install missing or PATH not set.
fix
Reinstall with 'npm install -g marker' and ensure npm global bin is in PATH.
error Error: Cannot find module 'commander'
cause Missing dependency; package.json lists commander but may not install properly.
fix
Run 'npm install -g marker' again or manually install commander: 'npm install -g commander'.
error SyntaxError: Unexpected token ILLEGAL
cause Node.js version too old or too new for the package's syntax.
fix
Use Node.js 0.10.x (very old) or avoid using this package.
gotcha Marker has not been updated since 2013 and may contain bugs or security issues.
fix Consider using a maintained alternative like marked or remark.
gotcha The package does not expose a programmatic API; it is purely a CLI tool.
fix Use a library with a JavaScript API for integration.
gotcha Copywrite is misspelled in the license; likely no legal force.
fix Not applicable; be aware of potential license issues.
npm install marker
yarn add marker
pnpm add marker

Installs Marker globally and watches a markdown file for changes, converting to HTML with GFM support.

npm install -g marker
marker -i input.md -o output.html --gfm --watch