---
title: "marked 18.4.0 Breaking Changes on npm | Since.dev"
description: "What each marked release removed, renamed or changed: 805 breaking changes in 46 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/marked
last_updated: 2026-12-04
---

# marked breaking changes

marked 18.4.0 (November 30, 2026) is its newest release with breaking changes, 29 of them. The first: Signature changed Hooks.provideLexer. Every breaking API change we have recorded in marked on npm: 805 breaking changes in 46 versions. Below, its 46 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `18.4.0`, released November 30, 2026. [Source repository](https://github.com/markedjs/marked)

Its 10.0.0 release drops [Node.js 16](https://since.dev/calendar/nodejs/16.md). [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [17.0.6](#v-17-0-6) to [18.4.0](#v-18-4-0): 50 breaking changes in 12 versions.
- From [4.1.0](#v-4-1-0) to [18.4.0](#v-18-4-0): 804 breaking changes in 45 versions.

## marked 18.4.0 breaking changes

marked 18.4.0, released November 30, 2026: 29 breaking changes.

- **Signature changed** `Hooks.provideLexer`  

Was provideLexer(block?: boolean | undefined): typeof \_Lexer.lexInline; now provideLexer(block?: boolean | undefined): (src: string, options?: MarkedOptions\<ParserOutput, RendererOutput> | undefined) => Token\[\]. [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `Hooks.provideParser`  

Was provideParser(block?: boolean | undefined): (tokens: Token\[\], options?: MarkedOptions\<ParserOutput, RendererOutput> | undefined) => ParserOutput; now provideParser(block?: boolean | undefined): (tokens: Token\[\], options?... [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `HooksApi.provideLexer`  

Was provideLexer(block?: boolean | undefined): typeof \_Lexer.lexInline; now provideLexer(block?: boolean | undefined): (src: string, options?: MarkedOptions\<ParserOutput, RendererOutput> | undefined) => Token\[\]. [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `HooksApi.provideParser`  

Was provideParser(block?: boolean | undefined): (tokens: Token\[\], options?: MarkedOptions\<ParserOutput, RendererOutput> | undefined) => ParserOutput; now provideParser(block?: boolean | undefined): (tokens: Token\[\], options?... [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `HooksObject.provideLexer`  

Was provideLexer(block?: boolean | undefined): typeof \_Lexer.lexInline; now provideLexer(block?: boolean | undefined): (src: string, options?: MarkedOptions\<ParserOutput, RendererOutput> | undefined) => Token\[\]. [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `HooksObject.provideParser`  

Was provideParser(block?: boolean | undefined): (tokens: Token\[\], options?: MarkedOptions\<ParserOutput, RendererOutput> | undefined) => ParserOutput; now provideParser(block?: boolean | undefined): (tokens: Token\[\], options?... [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `marked`  

Was function marked(src: string, options: MarkedOptions & {async: false;}): string function marked(src: string, options: MarkedOptions & {async: true;}): Promise\<string> function marked(src: string, options?: MarkedOptions | null): string... [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `Marked.Lexer`  

Was Lexer: typeof \_Lexer; now Lexer: {new (options?: MarkedOptions\<ParserOutput, RendererOutput> | undefined): \_Lexer\<ParserOutput, RendererOutput>; get rules(): {block: {normal: {blockquote: RegExp; code: RegExp; def: RegExp; fences... [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `marked.parseInline`  

Was let parseInline: typeof markedInstance.parseInline; now let parseInline: typeof parseInlineMarkdown. [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `Marked.parser`  

Was parser(tokens: Token\[\], options?: MarkedOptions\<ParserOutput, RendererOutput>): ParserOutput; now parser(tokens: Token\[\], options?: MarkedOptions\<ParserOutput, RendererOutput>): NoInfer\<ParserOutput>. [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `Marked.Parser`  

Was Parser: {new (options?: MarkedOptions\<ParserOutput, RendererOutput> | undefined): \_Parser\<ParserOutput, RendererOutput>; parse\<ParserOutput_1 = string, RendererOutput_1 = string>(tokens: Token\[\], options?: MarkedOptions\<ParserOutput_1... [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `Marked.Parser.parse`  

Was parse\<ParserOutput_1 = string, RendererOutput_1 = string>(tokens: Token\[\], options?: MarkedOptions\<ParserOutput_1, RendererOutput_1>): ParserOutput_1; now parse\<ParserOutput_1 = string, RendererOutput_1 = string>(tokens: Token\[\]... [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `Marked.Parser.parseInline`  

Was parseInline\<ParserOutput_1 = string, RendererOutput_1 = string>(tokens: Token\[\], options?: MarkedOptions\<ParserOutput_1, RendererOutput_1>): ParserOutput_1; now parseInline\<ParserOutput_1 = string, RendererOutput_1 = string>(tokens... [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `MarkedOptions.extensions`  

Was extensions?: null | {renderers: {\[name: string\]: RendererExtensionFunction\<ParserOutput, RendererOutput>;}; childTokens: {\[name: string\]: string\[\];}; inline?: TokenizerExtensionFunction\[\]; block?: TokenizerExtensionFunction\[\]... [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `MarkedOptions.extensions.block`  

Was block?: TokenizerExtensionFunction\[\]; now block?: TokenizerExtensionFunction\<ParserOutput, RendererOutput>\[\]. [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `MarkedOptions.extensions.inline`  

Was inline?: TokenizerExtensionFunction\[\]; now inline?: TokenizerExtensionFunction\<ParserOutput, RendererOutput>\[\]. [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `MarkedOptions.extensions.startBlock`  

Was startBlock?: TokenizerStartFunction\[\]; now startBlock?: TokenizerStartFunction\<ParserOutput, RendererOutput>\[\]. [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `MarkedOptions.extensions.startInline`  

Was startInline?: TokenizerStartFunction\[\]; now startInline?: TokenizerStartFunction\<ParserOutput, RendererOutput>\[\]. [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `parseInline`  

Was const parseInline: {(src: string, options: MarkedOptions\<string, string> & {async: true;}): Promise\<string>; (src: string, options: MarkedOptions\<string, string> & {async: false;}): string; (src: string, options?: MarkedOptions\<string... [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `Parser.parse`  

Was static parse\<ParserOutput = string, RendererOutput = string>(tokens: Token\[\], options?: MarkedOptions\<ParserOutput, RendererOutput>): ParserOutput; now static parse\<ParserOutput = string, RendererOutput = string>(tokens: Token\[\]... [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `Parser.parseInline`  

Was static parseInline\<ParserOutput = string, RendererOutput = string>(tokens: Token\[\], options?: MarkedOptions\<ParserOutput, RendererOutput>): ParserOutput; now static parseInline\<ParserOutput = string, RendererOutput = string>(tokens... [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `TokenizerAndRendererExtension`  

Was type TokenizerAndRendererExtension\<ParserOutput = string, RendererOutput = string> = TokenizerExtension | RendererExtension\<ParserOutput, RendererOutput> | (TokenizerExtension & RendererExtension\<ParserOutput, RendererOutput>); now... [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `TokenizerExtension`  

Was interface TokenizerExtension; now interface TokenizerExtension\<ParserOutput = string, RendererOutput = string>. [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `TokenizerExtension.start`  

Was start?: TokenizerStartFunction; now start?: TokenizerStartFunction\<ParserOutput, RendererOutput>. [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `TokenizerExtension.tokenizer`  

Was tokenizer: TokenizerExtensionFunction; now tokenizer: TokenizerExtensionFunction\<ParserOutput, RendererOutput>. [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `TokenizerExtensionFunction`  

Was type TokenizerExtensionFunction = (this: TokenizerThis, src: string, tokens: Token\[\] | TokensList) => Tokens.Generic | undefined; now type TokenizerExtensionFunction\<ParserOutput = string, RendererOutput = string> = (this... [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `TokenizerStartFunction`  

Was type TokenizerStartFunction = (this: TokenizerThis, src: string) => number | void; now type TokenizerStartFunction\<ParserOutput = string, RendererOutput = string> = (this: TokenizerThis\<ParserOutput, RendererOutput>, src: string) =>... [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `TokenizerThis`  

Was interface TokenizerThis; now interface TokenizerThis\<ParserOutput = string, RendererOutput = string>. [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)
- **Signature changed** `TokenizerThis.lexer`  

Was lexer: \_Lexer; now lexer: \_Lexer\<ParserOutput, RendererOutput>. [npmjs.com](https://www.npmjs.com/package/marked/v/18.4.0)

## marked 18.3.0 breaking changes

marked 18.3.0, released November 24, 2026: 1 breaking change.

- **Signature changed** `Lexer.state`  

Was state: {inLink: boolean; inRawBlock: boolean; linkEmitted: boolean; linkParenPossible: boolean; top: boolean; lastToken?: Token;}; now state: {inLink: boolean; inRawBlock: boolean; linkEmitted: boolean; linkParenPossible: boolean; top... [npmjs.com](https://www.npmjs.com/package/marked/v/18.3.0)

## marked 18.2.1 breaking changes

marked 18.2.1, released November 16, 2026: 1 breaking change.

- **Signature changed** `MarkedExtension.tokenizer`  

Was tokenizer?: TokenizerObject | null; now tokenizer?: TokenizerObject\<ParserOutput, RendererOutput> | null. [npmjs.com](https://www.npmjs.com/package/marked/v/18.2.1)

## marked 18.2.0 breaking changes

marked 18.2.0, released November 9, 2026: 1 breaking change.

- **Signature changed** `Lexer.state`  

Was state: {inLink: boolean; inRawBlock: boolean; linkEmitted: boolean; linkParenPossible: boolean; top: boolean;}; now state: {inLink: boolean; inRawBlock: boolean; linkEmitted: boolean; linkParenPossible: boolean; top: boolean... [npmjs.com](https://www.npmjs.com/package/marked/v/18.2.0)

## marked 18.1.3 breaking changes

marked 18.1.3, released November 2, 2026: 1 breaking change.

- **Signature changed** `MarkedExtension.walkTokens`  

Was walkTokens?: ((token: Token) => void | Promise\<void>) | null; now walkTokens?: ((token: Token) => void | Promise\<void> | (void | Promise\<void>)\[\]) | null. [npmjs.com](https://www.npmjs.com/package/marked/v/18.1.3)

## marked 18.1.2 breaking changes

marked 18.1.2, released October 26, 2026: 5 breaking changes.

- **Signature changed** `TextRenderer.del`  

Was del({text}: Tokens.Del): RendererOutput; now del({text, tokens}: Tokens.Del): RendererOutput. [npmjs.com](https://www.npmjs.com/package/marked/v/18.1.2)
- **Signature changed** `TextRenderer.em`  

Was em({text}: Tokens.Em): RendererOutput; now em({text, tokens}: Tokens.Em): RendererOutput. [npmjs.com](https://www.npmjs.com/package/marked/v/18.1.2)
- **Signature changed** `TextRenderer.image`  

Was image({text}: Tokens.Image): RendererOutput; now image({text, tokens}: Tokens.Image): RendererOutput. [npmjs.com](https://www.npmjs.com/package/marked/v/18.1.2)
- **Signature changed** `TextRenderer.link`  

Was link({text}: Tokens.Link): RendererOutput; now link({text, tokens}: Tokens.Link): RendererOutput. [npmjs.com](https://www.npmjs.com/package/marked/v/18.1.2)
- **Signature changed** `TextRenderer.strong`  

Was strong({text}: Tokens.Strong): RendererOutput; now strong({text, tokens}: Tokens.Strong): RendererOutput. [npmjs.com](https://www.npmjs.com/package/marked/v/18.1.2)

## Older versions

40 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### marked 18.1.1 breaking changes

marked 18.1.1, released October 12, 2026: 1 breaking change.

- **Signature changed** `Lexer.rules`  

Was readonly static rules: {block: {normal: {blockquote: RegExp; code: RegExp; def: RegExp; fences: RegExp; heading: RegExp; hr: RegExp; html: RegExp; lheading: RegExp; list: RegExp; newline: RegExp; paragraph: RegExp; table: RegExp; text... [npmjs.com](https://www.npmjs.com/package/marked/v/18.1.1)

### marked 18.1.0 breaking changes

marked 18.1.0, released October 5, 2026: 2 breaking changes.

- **Behavior changed**  

Link destinations containing unbalanced parentheses are no longer parsed as links, so their output changes. Check any content that relies on the old link parsing. [github.com](https://github.com/markedjs/marked/releases/tag/v18.1.0)
- **Signature changed** `Lexer.state`  

Was state: {inLink: boolean; inRawBlock: boolean; linkEmitted: boolean; top: boolean;}; now state: {inLink: boolean; inRawBlock: boolean; linkEmitted: boolean; linkParenPossible: boolean; top: boolean;}. [npmjs.com](https://www.npmjs.com/package/marked/v/18.1.0)

### marked 18.0.12 breaking changes

marked 18.0.12, released September 7, 2026: 3 breaking changes.

- **Signature changed** `Renderer.link`  

Was link({href, title, tokens}: Tokens.Link): RendererOutput; now link({href, title, text, tokens, autolink}: Tokens.Link): RendererOutput. [npmjs.com](https://www.npmjs.com/package/marked/v/18.0.12)
- **Signature changed** `RendererApi.link`  

Was link({href, title, tokens}: Tokens.Link): RendererOutput; now link({href, title, text, tokens, autolink}: Tokens.Link): RendererOutput. [npmjs.com](https://www.npmjs.com/package/marked/v/18.0.12)

And 1 more in this version.

### marked 18.0.11 breaking changes

marked 18.0.11, released August 24, 2026: 1 breaking change.

- **Signature changed** `Lexer.state`  

Was state: {inLink: boolean; inRawBlock: boolean; top: boolean;}; now state: {inLink: boolean; inRawBlock: boolean; linkEmitted: boolean; top: boolean;}. [npmjs.com](https://www.npmjs.com/package/marked/v/18.0.11)

### marked 18.0.9 breaking changes

marked 18.0.9, released August 4, 2026: 3 breaking changes.

- **Signature changed** `marked.parseInline`  

Was var parseInline: {(src: string, options: MarkedOptions\<string, string> & {async: true;}): Promise\<string>; (src: string, options: MarkedOptions\<string, string> & {async: false;}): string; (src: string, options?: MarkedOptions\<string... [npmjs.com](https://www.npmjs.com/package/marked/v/18.0.9)
- **Signature changed** `marked.use`  

Was var use: (...args: MarkedExtension\[\]) => typeof marked; now let use: (...args: MarkedExtension\[\]) => typeof marked. [npmjs.com](https://www.npmjs.com/package/marked/v/18.0.9)

And 1 more in this version.

### marked 18.0.0 breaking changes

marked 18.0.0, released April 7, 2026: 2 breaking changes.

- **Behavior changed**  

The package now uses TypeScript 6, so projects that depend on its types may need to upgrade TypeScript to match. [github.com](https://github.com/markedjs/marked/releases/tag/v18.0.0)
- **Behavior changed**  

Block tokens are trimmed of trailing blank lines, so code that relied on those newlines in token text must be updated. [github.com](https://github.com/markedjs/marked/releases/tag/v18.0.0)

### marked 17.0.6 breaking changes

marked 17.0.6, released April 5, 2026: 6 breaking changes.

- **Signature changed** `Hooks.provideLexer`  

Was provideLexer(): typeof \_Lexer.lexInline; now provideLexer(block?: boolean | undefined): typeof \_Lexer.lexInline. [npmjs.com](https://www.npmjs.com/package/marked/v/17.0.6)
- **Signature changed** `Hooks.provideParser`  

Was provideParser(): (tokens: Token\[\], options?: MarkedOptions\<ParserOutput, RendererOutput> | undefined) => ParserOutput; now provideParser(block?: boolean | undefined): (tokens: Token\[\], options?: MarkedOptions\<ParserOutput... [npmjs.com](https://www.npmjs.com/package/marked/v/17.0.6)

And 4 more in this version.

### marked 17.0.4 breaking changes

marked 17.0.4, released March 4, 2026: 1 breaking change.

- **Removed** `Rules.other.unescapeTest`  

Rules.other.unescapeTest was removed in marked 17.0.4 [npmjs.com](https://www.npmjs.com/package/marked/v/17.0.4)

### marked 17.0.2 breaking changes

marked 17.0.2, released February 11, 2026: 5 breaking changes.

- **Removed** `Rules.other.listReplaceTabs`  

Rules.other.listReplaceTabs was removed in marked 17.0.2 [npmjs.com](https://www.npmjs.com/package/marked/v/17.0.2)
- **Signature changed** `Lexer.rules`  

Was readonly static rules: {block: {normal: {blockquote: RegExp; code: RegExp; def: RegExp; fences: RegExp; heading: RegExp; hr: RegExp; html: RegExp; lheading: RegExp; list: RegExp; newline: RegExp; paragraph: RegExp; table: RegExp; text... [npmjs.com](https://www.npmjs.com/package/marked/v/17.0.2)

And 3 more in this version.

### marked 17.0.0 breaking changes

marked 17.0.0, released November 7, 2025: 7 breaking changes.

- **Behavior changed**  

Text tokens that follow each other inside lists are produced differently. Check any code that reads list token output. [github.com](https://github.com/markedjs/marked/releases/tag/v17.0.0)
- **Behavior changed**  

The listItem renderer has been simplified, so custom listItem renderers may need to be updated to the new shape. [github.com](https://github.com/markedjs/marked/releases/tag/v17.0.0)

And 5 more in this version.

### marked 16.4.0 breaking changes

marked 16.4.0, released October 7, 2025: 1 breaking change.

- **Behavior changed**  

Text starting with an uppercase WWW no longer starts an automatic link the way lowercase www does. Check documents that relied on uppercase www being auto-linked. [github.com](https://github.com/markedjs/marked/releases/tag/v16.4.0)

### marked 16.3.0 breaking changes

marked 16.3.0, released September 14, 2025: 1 breaking change.

- **Signature changed** `Marked.Hooks`  

Was Hooks: {new (options?: MarkedOptions\<ParserOutput, RendererOutput> | undefined): \_Hooks\<ParserOutput, RendererOutput>; passThroughHooks: Set\<string>;}; now Hooks: {new (options?: MarkedOptions\<ParserOutput, RendererOutput> |... [npmjs.com](https://www.npmjs.com/package/marked/v/16.3.0)

### marked 16.1.0 breaking changes

marked 16.1.0, released July 17, 2025: 146 breaking changes.

- **Signature changed** `defaults`  

Was let \_defaults: MarkedOptions; now let \_defaults: MarkedOptions\<any, any>. [npmjs.com](https://www.npmjs.com/package/marked/v/16.1.0)
- **Signature changed** `getDefaults`  

Was function \_getDefaults(): MarkedOptions; now function \_getDefaults\<ParserOutput = string, RendererOutput = string>(): MarkedOptions\<ParserOutput, RendererOutput>. [npmjs.com](https://www.npmjs.com/package/marked/v/16.1.0)

And 144 more in this version.

### marked 16.0.0 breaking changes

marked 16.0.0, released June 27, 2025: 5 breaking changes.

- **Removed**  

The minimum supported Node.js version is now 20. Upgrade Node.js before using this release. [github.com](https://github.com/markedjs/marked/releases/tag/v16.0.0)
- **Removed** `lib.marked.cjs`  

The CommonJS build is no longer shipped, so code that requires ./lib/marked.cjs will break. Use the ESM or UMD build instead. [github.com](https://github.com/markedjs/marked/releases/tag/v16.0.0)

And 3 more in this version.

### marked 15.0.11 breaking changes

marked 15.0.11, released April 25, 2025: 3 breaking changes.

- **Signature changed** `Renderer.image`  

Was image({href, title, text}: Tokens.Image): string; now image({href, title, text, tokens}: Tokens.Image): string. [npmjs.com](https://www.npmjs.com/package/marked/v/15.0.11)
- **Signature changed** `RendererApi.image`  

Was image({href, title, text}: Tokens.Image): string; now image({href, title, text, tokens}: Tokens.Image): string. [npmjs.com](https://www.npmjs.com/package/marked/v/15.0.11)

And 1 more in this version.

### marked 15.0.5 breaking changes

marked 15.0.5, released January 2, 2025: 1 breaking change.

- **Behavior changed**  

Strikethrough text nested inside strong or em is now parsed as GFM specifies, which can change rendered output for such input. [github.com](https://github.com/markedjs/marked/releases/tag/v15.0.5)

### marked 15.0.1 breaking changes

marked 15.0.1, released November 18, 2024: 29 breaking changes.

- **Signature changed** `Hooks.block`  

Was block: boolean | undefined; now block?: boolean. [npmjs.com](https://www.npmjs.com/package/marked/v/15.0.1)
- **Signature changed** `marked`  

Was function marked(src: string, options?: MarkedOptions | undefined | null): string | Promise\<string>; now function marked(src: string, options?: MarkedOptions | null): string | Promise\<string>. [npmjs.com](https://www.npmjs.com/package/marked/v/15.0.1)

And 27 more in this version.

### marked 15.0.0 breaking changes

marked 15.0.0, released November 9, 2024: 5 breaking changes.

- **Behavior changed**  

HTML escaping moved from the tokenizers to the renderers for all tokens. Custom renderers that depended on the previous output may need to adjust how they handle escaping. [github.com](https://github.com/markedjs/marked/releases/tag/v15.0.0)
- **Signature changed** `Renderer.text`  

Was text(token: Tokens.Text | Tokens.Escape | Tokens.Tag): string; now text(token: Tokens.Text | Tokens.Escape): string. [npmjs.com](https://www.npmjs.com/package/marked/v/15.0.0)

And 3 more in this version.

### marked 14.1.0 breaking changes

marked 14.1.0, released August 26, 2024: 3 breaking changes.

- **Removed** `block`  

The block export was removed in this release, so code importing it will no longer find it. [npmjs.com](https://www.npmjs.com/package/marked/v/14.1.0)
- **Removed** `inline`  

The inline export was removed in this release, so code importing it will no longer find it. [npmjs.com](https://www.npmjs.com/package/marked/v/14.1.0)

And 1 more in this version.

### marked 14.0.0 breaking changes

marked 14.0.0, released August 7, 2024: 9 breaking changes.

- **Removed**  

The old renderer was removed. Code that depends on it must move to the current renderer. [github.com](https://github.com/markedjs/marked/releases/tag/v14.0.0)
- **Removed** `MarkedExtension.useNewRenderer`  

The useNewRenderer option was removed. Stop passing it and use the current renderer. [npmjs.com](https://www.npmjs.com/package/marked/v/14.0.0)

And 7 more in this version.

### marked 13.0.1 breaking changes

marked 13.0.1, released June 24, 2024: 3 breaking changes.

- **Signature changed** `HooksObject`  

Was type HooksObject = {\[K in keyof HooksApi\]?: (...args: Parameters\<HooksApi\[K\]>) => ReturnType\<HooksApi\[K\]> | Promise\<ReturnType\<HooksApi\[K\]>>;}; now type HooksObject = {\[K in keyof HooksApi\]?: (this: \_Hooks, ...args... [npmjs.com](https://www.npmjs.com/package/marked/v/13.0.1)
- **Signature changed** `RendererObject`  

Was type RendererObject = {\[K in keyof RendererApi\]?: (...args: Parameters\<RendererApi\[K\]>) => ReturnType\<RendererApi\[K\]> | false;}; now type RendererObject = {\[K in keyof RendererApi\]?: (this: \_Renderer, ...args... [npmjs.com](https://www.npmjs.com/package/marked/v/13.0.1)

And 1 more in this version.

### marked 13.0.0 breaking changes

marked 13.0.0, released June 12, 2024: 74 breaking changes.

- **Behavior changed**  

Parsing now emits an extra space token after a blockquote or horizontal rule when multiple newlines follow. Code that counts or walks tokens may see different output. [github.com](https://github.com/markedjs/marked/releases/tag/v13.0.0)
- **Signature changed** `Lexer.blockTokens`  

Was blockTokens(src: string, tokens?: Token\[\]): Token\[\] blockTokens(src: string, tokens?: TokensList): TokensList; now blockTokens(src: string, tokens?: Token\[\], lastParagraphClipped?: boolean): Token\[\] blockTokens(src: string, tokens?... [npmjs.com](https://www.npmjs.com/package/marked/v/13.0.0)

And 72 more in this version.

### marked 12.0.0 breaking changes

marked 12.0.0, released February 3, 2024: 3 breaking changes.

- **Behavior changed**  

Markdown punctuation handling now includes Unicode punctuation and symbol categories, which can change how emphasis and similar syntax parse around those characters. [github.com](https://github.com/markedjs/marked/releases/tag/v12.0.0)
- **Behavior changed**  

HTML comments now include the short forms \<!--> and \<!---> per CommonMark 0.31, so content previously treated as text may now be parsed as an HTML comment. [github.com](https://github.com/markedjs/marked/releases/tag/v12.0.0)

And 1 more in this version.

### marked 11.1.0 breaking changes

marked 11.1.0, released December 12, 2023: 9 breaking changes.

- **Removed** `MarkedExtension.hooks.options`  

MarkedExtension.hooks.options was removed in marked 11.1.0 [npmjs.com](https://www.npmjs.com/package/marked/v/11.1.0)
- **Removed** `MarkedExtension.hooks.postprocess`  

MarkedExtension.hooks.postprocess was removed in marked 11.1.0 [npmjs.com](https://www.npmjs.com/package/marked/v/11.1.0)

And 7 more in this version.

### marked 11.0.0 breaking changes

marked 11.0.0, released November 29, 2023: 11 breaking changes.

- **Removed** `BlockRuleNames`  

BlockRuleNames was removed in marked 11.0.0 [npmjs.com](https://www.npmjs.com/package/marked/v/11.0.0)
- **Removed** `BlockSubRuleNames`  

BlockSubRuleNames was removed in marked 11.0.0 [npmjs.com](https://www.npmjs.com/package/marked/v/11.0.0)

And 9 more in this version.

### marked 10.0.0 breaking changes

marked 10.0.0, released November 11, 2023: 1 breaking change.

- **Removed**  

Node.js v16 is no longer supported. Upgrade to a newer Node.js version before updating marked. [github.com](https://github.com/markedjs/marked/releases/tag/v10.0.0)

### marked 9.1.6 breaking changes

marked 9.1.6, released November 10, 2023: 2 breaking changes.

- **Signature changed** `Marked.lexer`  

Was lexer: typeof \_Lexer.lex; now lexer(src: string, options?: MarkedOptions): TokensList. [npmjs.com](https://www.npmjs.com/package/marked/v/9.1.6)
- **Signature changed** `Marked.parser`  

Was parser: typeof \_Parser.parse; now parser(tokens: Token\[\], options?: MarkedOptions): string. [npmjs.com](https://www.npmjs.com/package/marked/v/9.1.6)

### marked 9.1.4 breaking changes

marked 9.1.4, released October 31, 2023: 21 breaking changes.

- **Removed** `"defaults"`  

"defaults" was removed in marked 9.1.4 [npmjs.com](https://www.npmjs.com/package/marked/v/9.1.4)
- **Removed** `"helpers"`  

"helpers" was removed in marked 9.1.4 [npmjs.com](https://www.npmjs.com/package/marked/v/9.1.4)

And 19 more in this version.

### marked 9.1.2 breaking changes

marked 9.1.2, released October 13, 2023: 1 breaking change.

- **Behavior changed** `blockquote token.text`  

The text of blockquote tokens no longer includes a trailing newline. Code that depends on the old text with the newline should be updated. [github.com](https://github.com/markedjs/marked/releases/tag/v9.1.2)

### marked 9.0.0 breaking changes

marked 9.0.0, released September 9, 2023: 1 breaking change.

- **Removed**  

Built files were removed from the git repo, so web users who loaded them from the repository must switch to the npm build, for example via the jsDelivr CDN link. [github.com](https://github.com/markedjs/marked/releases/tag/v9.0.0)

### marked 8.0.0 breaking changes

marked 8.0.0, released September 3, 2023: 89 breaking changes.

- **Removed**  

Deprecated options were removed in this release. To get the removed behavior back, enable it with extensions as described in the advanced options guide. [github.com](https://github.com/markedjs/marked/releases/tag/v8.0.0)
- **Removed** `"helpers".checkDeprecations`  

"helpers".checkDeprecations was removed in marked 8.0.0 [npmjs.com](https://www.npmjs.com/package/marked/v/8.0.0)

And 87 more in this version.

### marked 7.0.5 breaking changes

marked 7.0.5, released August 26, 2023: 8 breaking changes.

- **Signature changed** `"Instance".Marked.walkTokens`  

Was walkTokens\<T = void>(tokens: Token\[\] | TokensList, callback: (token: Token) => T | T\[\]): T\[\]; now walkTokens(tokens: Token\[\] | TokensList, callback: (token: Token) => MaybePromise | MaybePromise\[\]): MaybePromise\[\]. [npmjs.com](https://www.npmjs.com/package/marked/v/7.0.5)
- **Signature changed** `"marked".marked.walkTokens`  

Was var walkTokens: \<T = void>(tokens: Token\[\] | TokensList, callback: (token: Token) => T | T\[\]) => T\[\]; now var walkTokens: (tokens: Token\[\] | TokensList, callback: (token: Token) => MaybePromise | MaybePromise\[\]) => MaybePromise\[\]. [npmjs.com](https://www.npmjs.com/package/marked/v/7.0.5)

And 6 more in this version.

### marked 7.0.4 breaking changes

marked 7.0.4, released August 19, 2023: 20 breaking changes.

- **Signature changed** `"marked".MarkedExtension.walkTokens`  

Was walkTokens?: ((token: Token) => void | Promise\<void>) | undefined | null; now walkTokens?: ((token: Token) => void | unknown | Promise\<void>) | undefined | null. [npmjs.com](https://www.npmjs.com/package/marked/v/7.0.4)
- **Signature changed** `"marked".MarkedOptions.extensions`  

Was extensions?: (TokenizerAndRendererExtension\[\] & {renderers: Record\<string, RendererExtensionFunction>; childTokens: Record\<string, string\[\]>; block: any\[\]; inline: any\[\]; startBlock: Array<(this: TokenizerThis, src: string) => number |... [npmjs.com](https://www.npmjs.com/package/marked/v/7.0.4)

And 18 more in this version.

### marked 7.0.2 breaking changes

marked 7.0.2, released August 10, 2023: 33 breaking changes.

- **Signature changed** `"helpers".splitCells`  

Was function splitCells(tableRow: string, count: number): string\[\]; now function splitCells(tableRow: string, count?: number): string\[\]. [npmjs.com](https://www.npmjs.com/package/marked/v/7.0.2)
- **Signature changed** `"Hooks"._Hooks.postprocess`  

Was postprocess(html: string | undefined): string | undefined; now postprocess(html: string): string. [npmjs.com](https://www.npmjs.com/package/marked/v/7.0.2)

And 31 more in this version.

### marked 7.0.1 breaking changes

marked 7.0.1, released August 7, 2023: 39 breaking changes.

- **Removed** `block`  

block was removed in marked 7.0.1 [npmjs.com](https://www.npmjs.com/package/marked/v/7.0.1)
- **Removed** `defaults`  

defaults was removed in marked 7.0.1 [npmjs.com](https://www.npmjs.com/package/marked/v/7.0.1)

And 37 more in this version.

### marked 7.0.0 breaking changes

marked 7.0.0, released August 6, 2023: 2 breaking changes.

- **Default changed** `headerIds`  

The headerIds option now defaults to false instead of true. If you relied on generated heading ids, set headerIds: true explicitly. [github.com](https://github.com/markedjs/marked/releases/tag/v7.0.0)
- **Default changed** `mangle`  

The mangle option now defaults to false instead of true. If you relied on the old default, set mangle: true explicitly. [github.com](https://github.com/markedjs/marked/releases/tag/v7.0.0)

### marked 6.0.0 breaking changes

marked 6.0.0, released July 31, 2023: 208 breaking changes.

- **Removed** `Marked.getDefaults`  

Marked.getDefaults was removed in marked 6.0.0 [npmjs.com](https://www.npmjs.com/package/marked/v/6.0.0)
- **Removed** `marked.Lexer.blockTokens`  

Lexer.blockTokens was removed in marked 6.0.0 [npmjs.com](https://www.npmjs.com/package/marked/v/6.0.0)

And 206 more in this version.

### marked 5.0.0 breaking changes

marked 5.0.0, released May 2, 2023: 6 breaking changes.

- **Removed**  

The package now requires Node.js 18 or later. Upgrade Node.js to 18 or newer before using this version. [github.com](https://github.com/markedjs/marked/releases/tag/v5.0.0)
- **Removed** `marked.MarkedExtension.smartLists`  

MarkedExtension.smartLists was removed in marked 5.0.0 [npmjs.com](https://www.npmjs.com/package/marked/v/5.0.0)

And 4 more in this version.

### marked 4.1.1 breaking changes

marked 4.1.1, released October 1, 2022: 1 breaking change.

- **Removed** `smartLists`  

The smartLists option was removed from the code and docs, so setting it no longer has any effect. [github.com](https://github.com/markedjs/marked/releases/tag/v4.1.1)

### marked 4.1.0 breaking changes

marked 4.1.0, released August 30, 2022: 1 breaking change.

- **Signature changed** `marked.TokenizerAndRendererExtension`  

Was type TokenizerAndRendererExtension = TokenizerExtension | RendererExtension | (TokenizerExtension & RendererExtension); now type TokenizerAndRendererExtension = | TokenizerExtension | RendererExtension | (TokenizerExtension &... [npmjs.com](https://www.npmjs.com/package/marked/v/4.1.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
