NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #3922 most downloaded on npm
A custom renderer for marked to output Markdown to the terminal
Latest stable
8.0.0
Last release 23 days ago
30 Oct 2026
Release timing varies
gaps range from 4 weeks to 1.7 years
Some releases are documented
notes for 23 of 41 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
41 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
A modernized marked-terminal: rewritten in TypeScript, fewer dependencies, a new CLI and better reflow.
A modernized marked-terminal: rewritten in TypeScript, fewer dependencies, a new CLI and better reflow.
require('marked-terminal') still works through Node's native require(esm).TerminalRenderer class (and the default export) is removed. Use markedTerminal.highlightOptions are now { sheet, subset }.node:util's styleText instead of chalk.reflowText is on.tab.mt CLI for rendering Markdown files or piped input from the shell.images option to draw images in the terminal: full resolution in terminals supporting the iTerm2 or Kitty graphics protocols, pixelated with colored half blocks elsewhere. Remote images are only downloaded with remote: true. The mt CLI draws images by default (--no-images, --remote-images).width when reflowText is on, by @aberigle in #374hyperlinks option to turn clickable terminal links on or off. Detected from stdout when not set.Requires a Node.js LTS version (>= 22.12) and marked >= 13.
The package is ESM-only. require('marked-terminal') still works through
Node's native require(esm).
The TerminalRenderer class (and the default export) is removed. Use the
markedTerminal extension, the
recommended way of overriding
marked's renderer:
- import TerminalRenderer from 'marked-terminal';
- marked.setOptions({ renderer: new TerminalRenderer(options, highlightOptions) });
+ import { markedTerminal } from 'marked-terminal';
+ marked.use(markedTerminal(options, highlightOptions));
TypeScript types are bundled; remove @types/marked-terminal.
highlightOptions are now { sheet, subset } (see README) instead of
cli-highlight options.
Highlighting uses highlight.js 11, so some code may be colored slightly differently.
Default styles use node:util's styleText instead of chalk. Custom style
options work as before, as any (text: string) => string function.
Full Changelog: https://github.com/mikaelbr/marked-terminal/compare/v7.3.0...v8.0.0
<!-- Generated from commits. Everything below this line is replaced on each push to main. -->
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Nothing published for this version
Nothing published for this version
Upgrades to support marked 14
Upgrades to support marked 14
Nothing published for this version
Replace cardinal with cli-highlight by @jescalan in https://github.com/mikaelbr/marked-terminal/pull/262
This might cause changes for your custom options to highlight. See readme for details
Full Changelog: https://github.com/mikaelbr/marked-terminal/compare/v6.2.0...v7.0.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
fix: allow marked v10 by @UziTech in https://github.com/mikaelbr/marked-terminal/pull/247
Full Changelog: https://github.com/mikaelbr/marked-terminal/compare/v6.0.0...v6.1.0
Still checks compatibility for node 16 even if that has end-of-life. Will be removed later. This won't be a breaking change for most, but can no longe…
No longer has Node 14 on the support list. Still checks compatibility for node 16 even if that has end-of-life. Will be removed later. This won't be a breaking change for most, but can no longer guarantee node 14 support, so this is a major version upgrade to be on the safe side.
Full Changelog: https://github.com/mikaelbr/marked-terminal/compare/v5.2.0...v6.0.0
Nothing published for this version
feat: adds support for marked 5 by @mikaelbr in https://github.com/mikaelbr/marked-terminal/pull/201
Full Changelog: https://github.com/mikaelbr/marked-terminal/compare/v5.1.1...v5.2.0
Nothing published for this version
Adds support for CJS as well as ESM. #98.
Full Changelog: https://github.com/mikaelbr/marked-terminal/compare/v5.0.0...v5.1.0
Changes to ECMAScript Modules by default #83
Nothing published for this version
- Adds support for marked@2
Nothing published for this version
Adds override capability for image in options. Signature function (href, title, text).
image in options. Signature function (href, title, text).Nothing published for this version
Updated to support marked 0.6.0 and added support for real links
Updated to support marked 0.6.0 and added support for real links (#52)
Fixes issue with task lists
Fixes issue with task lists (#44)
Updates all dependencies and support marked 0.5.0
Updates all dependencies and support marked 0.5.0
Updated to marked 0.4.0 which has breaking changes
Updated to marked 0.4.0 which has breaking changes (#41)
The output now has changed in regards to whitespace. The listitem option do no longer apply to the entire list but only individual items.
The output now has changed in regards to whitespace. The listitem option do no longer apply to the entire list but only individual items.
Changes as merged in #27
There is an additional option in the API: list. Use this to customize the pullet points for ordered and unordered lists:
new TerminalRenderer({
list: function (body, ordered) {
// body : String
// ordered : bool
}
})
Adds customized tabs options #26.
new Renderer({ tab: 4 });
new Renderer({ tab: 2 });
new Renderer({ tab: '\t' });
new Renderer({ tab: '\t\t' });
Fixes issue with chalk and cardinal #17
Fixes ability to override text rendering, as previous version didn't include that change.
Fixes ability to override text rendering, as previous version didn't include that change.
Adds support for latest marked version (v0.3.4) which added a new render function: text.
Adds support for latest marked version (v0.3.4) which added a new render function: text.
Adds reflow text. Allows you to limit width for your output.
showSectionPrefix option. When false don't do # before headersAdds support for emojis. Fixes #14.
Adds possibility of passing on table settings to cli-table. See default options
cli-table. See default optionsUpdates cardinal to support ES6
Updates cardinal to support ES6
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.