unstale

npm / marked-terminal

marked-terminal

What changed in marked-terminal 4 to 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-30.

10 breaking7 new APIs and options5 behavior and defaults1 tooling6 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.9 on npm

marked-terminal 820 changes

Breaking changes 7

  • The default export is removed; use the markedTerminal extension.

    8.0.0release notes

  • The package is ESM-only; require('marked-terminal') still works through Node's native require(esm).

    8.0.0release notes

  • Remote images are downloaded only when remote is true.

    8.0.0release notes

  • Requires marked >= 13 and supports marked up to v18.

    8.0.0release notes

  • Requires Node.js >= 22.12.

    8.0.0release notes

  • The TerminalRenderer class is removed; use the markedTerminal extension.

    8.0.0release notes

  • Top-level lists are no longer indented; nested lists remain indented by tab.

    8.0.0release notes

New APIs and options 6

  • Adds an option to turn clickable terminal links on or off; when unset, detection uses stdout.

    8.0.0release notes

  • Adds an option to draw images in the terminal using supported graphics protocols or colored half blocks.

    8.0.0release notes

  • Use the markedTerminal extension with marked.use to override marked's renderer.

    8.0.0release notes

  • New CLI renders Markdown files or piped shell input.

    8.0.0release notes

  • The mt CLI draws images by default; --no-images disables image drawing.

    8.0.0release notes

  • Adds a CLI flag for remote image handling.

    8.0.0release notes

Behavior and default changes 2

  • Default styles use node:util's styleText instead of chalk; custom style options continue to work as before.

    8.0.0release notes

  • Tables shrink to fit width when reflowText is on.

    8.0.0release notes

Tooling 1

  • TypeScript types are bundled, so remove @types/marked-terminal.

    8.0.0release notes

Fixes and other changes 4

  • GFM task lists render correctly.

    8.0.0release notes

  • Bold, italic, code, and other inline formatting in list items render again with marked v13+.

    8.0.0release notes

  • Removes extra blank lines in nested lists when colors are on.

    8.0.0release notes

  • Lists are now wrapped when reflowText is on.

    8.0.0release notes

marked-terminal 72 changes

Breaking changes 1

  • Replaces cardinal with cli-highlight, which might require changes to custom options used for highlighting.

    7.0.0release notes

Fixes and other changes 1

marked-terminal 63 changes

Breaking changes 1

  • Node 14 is no longer on the support list, so compatibility can no longer be guaranteed.

    6.0.0release notes

New APIs and options 1

  • Adds a use extension for integrating marked-terminal.

    6.0.0release notes

Behavior and default changes 1

marked-terminal 52 changes

Breaking changes 1

  • ECMAScript Modules are used by default, which may affect existing projects.

    5.0.0release notes

Behavior and default changes 1

marked-terminal 42 changes

Behavior and default changes 1

  • The image option can be overridden with a function receiving href, title, and text.

    4.0.0release notes

Fixes and other changes 1