markdown-cli is a command-line tool that renders Markdown files to the terminal with syntax highlighting, tables, emoji, and ANSI colors. Version 1.6.0, last updated in 2016, with no recent releases. It wraps marked for parsing and uses cardinal for JS code highlighting, cli-table for tables, and node-emoji for emoji. No TypeScript support or active maintenance. Suitable for quick Markdown previews in the terminal but not recommended for new projects.
npm install markdown-cliVerified import paths — ran on the pinned version, not inferred.
Shows basic usage: rendering a Markdown file and piping content via stdin.
Consider alternatives like mdcat or terminal-markdown
Use npx markdown-cli for one-off use or install globally with -g
Check rendered output for compatibility.
Run 'npm install -g markdown-cli' and ensure npm global bin is in PATH.
Run 'npm install markdown-cli' in the project directory (or globally with --global).
Use an older version of indent-string (^2.0.0) or pin markdown-cli@1.6.0.