---
title: "@astrojs/markdown-remark 7.3.2 Breaking Changes on npm"
description: "What each @astrojs/markdown-remark release removed, renamed or changed: 24 breaking changes in 5 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@astrojs/markdown-remark
last_updated: 2026-12-04
---

# @astrojs/markdown-remark breaking changes

@astrojs/markdown-remark 7.3.2 (October 6, 2026) is its newest release with breaking changes. The first: Adds YAML parsing with timestamp and merge key support and consistent YAML errors in @astrojs/markdown-remark 7.3.2. Every breaking API change we have recorded in @astrojs/markdown-remark on npm: 24 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.3.10`, released November 18, 2026. [Source repository](https://github.com/withastro/astro)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [6.0.0](#v-6-0-0) to [7.3.2](#v-7-3-2): 5 breaking changes in 3 versions.
- From [5.0.0](#v-5-0-0) to [7.3.2](#v-7-3-2): 16 breaking changes in 4 versions.

## @astrojs/markdown-remark 7.3.2 breaking changes

@astrojs/markdown-remark 7.3.2, released October 6, 2026: 1 breaking change.

- **Behavior changed**  

YAML parsing now supports timestamps and merge keys, and YAML errors are formatted consistently across Astro, Markdown, MDX, and Markdoc. Code relying on the previous YAML error format may need updating. [github.com](https://github.com/withastro/astro/releases/tag/%40astrojs/markdown-remark%407.3.2)

## @astrojs/markdown-remark 7.3.1 breaking changes

@astrojs/markdown-remark 7.3.1, released September 8, 2026: 1 breaking change.

- **Behavior changed**  

A dynamic value inside a script or style element in MDX is now escaped like other element content. To keep raw rendering for a dynamic value, use set:html. [github.com](https://github.com/withastro/astro/releases/tag/%40astrojs/markdown-remark%407.3.1)

## @astrojs/markdown-remark 7.0.0 breaking changes

@astrojs/markdown-remark 7.0.0, released March 10, 2026: 3 breaking changes.

- **Removed** `AstroMarkdownProcessorOptions.experimentalHeadingIdCompat`  

AstroMarkdownProcessorOptions.experimentalHeadingIdCompat was removed in @astrojs/markdown-remark 7.0.0 [npmjs.com](https://www.npmjs.com/package/@astrojs/markdown-remark/v/7.0.0)
- **Signature changed** `createShikiHighlighter`  

Was function createShikiHighlighter({langs, theme, themes, langAlias}?: CreateShikiHighlighterOptions): Promise\<ShikiHighlighter>; now function createShikiHighlighter(options?: CreateShikiHighlighterOptions): Promise\<ShikiHighlighter>. [npmjs.com](https://www.npmjs.com/package/@astrojs/markdown-remark/v/7.0.0)
- **Signature changed** `rehypeHeadingIds`  

Was function rehypeHeadingIds({experimentalHeadingIdCompat}?: {experimentalHeadingIdCompat?: boolean;}): ReturnType\<RehypePlugin>; now function rehypeHeadingIds(): ReturnType\<RehypePlugin>. [npmjs.com](https://www.npmjs.com/package/@astrojs/markdown-remark/v/7.0.0)

## @astrojs/markdown-remark 6.0.0 breaking changes

@astrojs/markdown-remark 6.0.0, released December 3, 2024: 11 breaking changes.

- **Removed** `dist/internal.js:safelyGetAstroData`  

safelyGetAstroData was removed in @astrojs/markdown-remark 6.0.0 [npmjs.com](https://www.npmjs.com/package/@astrojs/markdown-remark/v/6.0.0)
- **Removed** `InvalidAstroDataError`  

InvalidAstroDataError was removed in @astrojs/markdown-remark 6.0.0 [npmjs.com](https://www.npmjs.com/package/@astrojs/markdown-remark/v/6.0.0)
- **Removed** `MarkdownAstroData`  

MarkdownAstroData was removed in @astrojs/markdown-remark 6.0.0 [npmjs.com](https://www.npmjs.com/package/@astrojs/markdown-remark/v/6.0.0)
- **Removed** `MarkdownVFile`  

MarkdownVFile was removed in @astrojs/markdown-remark 6.0.0 [npmjs.com](https://www.npmjs.com/package/@astrojs/markdown-remark/v/6.0.0)
- **Removed** `setVfileFrontmatter`  

setVfileFrontmatter was removed in @astrojs/markdown-remark 6.0.0 [npmjs.com](https://www.npmjs.com/package/@astrojs/markdown-remark/v/6.0.0)
- **Removed** `ShikiHighlighter.highlight`  

ShikiHighlighter.highlight was removed in @astrojs/markdown-remark 6.0.0 [npmjs.com](https://www.npmjs.com/package/@astrojs/markdown-remark/v/6.0.0)
- **Signature changed** `createShikiHighlighter`  

Was function createShikiHighlighter({langs, theme, themes, defaultColor, wrap, transformers, langAlias}?: ShikiConfig): Promise\<ShikiHighlighter>; now function createShikiHighlighter({langs, theme, themes, langAlias}?... [npmjs.com](https://www.npmjs.com/package/@astrojs/markdown-remark/v/6.0.0)
- **Signature changed** `MarkdownProcessorRenderResult.metadata`  

Was metadata: {headings: MarkdownHeading\[\]; imagePaths: Set\<string>; frontmatter: Record\<string, any>;}; now metadata: {headings: MarkdownHeading\[\]; imagePaths: string\[\]; frontmatter: Record\<string, any>;}. [npmjs.com](https://www.npmjs.com/package/@astrojs/markdown-remark/v/6.0.0)
- **Signature changed** `MarkdownProcessorRenderResult.metadata.imagePaths`  

Was imagePaths: Set\<string>; now imagePaths: string\[\]. [npmjs.com](https://www.npmjs.com/package/@astrojs/markdown-remark/v/6.0.0)
- **Signature changed** `remarkCollectImages`  

Was function remarkCollectImages(): (tree: any, vfile: MarkdownVFile) => void; now function remarkCollectImages(): (tree: any, vfile: VFile) => void. [npmjs.com](https://www.npmjs.com/package/@astrojs/markdown-remark/v/6.0.0)

And 1 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## @astrojs/markdown-remark 5.0.0 breaking changes

@astrojs/markdown-remark 5.0.0, released April 2, 2024: 8 breaking changes.

- **Removed** `ImageMetadata`  

ImageMetadata was removed in @astrojs/markdown-remark 5.0.0 [npmjs.com](https://www.npmjs.com/package/@astrojs/markdown-remark/v/5.0.0)
- **Removed** `MarkdownMetadata`  

MarkdownMetadata was removed in @astrojs/markdown-remark 5.0.0 [npmjs.com](https://www.npmjs.com/package/@astrojs/markdown-remark/v/5.0.0)
- **Removed** `MarkdownRenderingOptions`  

MarkdownRenderingOptions was removed in @astrojs/markdown-remark 5.0.0 [npmjs.com](https://www.npmjs.com/package/@astrojs/markdown-remark/v/5.0.0)
- **Removed** `MarkdownRenderingResult`  

MarkdownRenderingResult was removed in @astrojs/markdown-remark 5.0.0 [npmjs.com](https://www.npmjs.com/package/@astrojs/markdown-remark/v/5.0.0)
- **Removed** `remarkPrism`  

Use rehypePrism instead. [npmjs.com](https://www.npmjs.com/package/@astrojs/markdown-remark/v/5.0.0)
- **Removed** `remarkShiki`  

Use rehypeShiki instead. [npmjs.com](https://www.npmjs.com/package/@astrojs/markdown-remark/v/5.0.0)
- **Removed** `replaceCssVariables`  

replaceCssVariables was removed in @astrojs/markdown-remark 5.0.0 [npmjs.com](https://www.npmjs.com/package/@astrojs/markdown-remark/v/5.0.0)
- **Signature changed** `ShikiHighlighter.highlight`  

Was highlight(code: string, lang?: string, options?: {inline?: boolean; attributes?: Record\<string, string>; meta?: string;}): string; now highlight(code: string, lang?: string, options?: {inline?: boolean; attributes?: Record\<string... [npmjs.com](https://www.npmjs.com/package/@astrojs/markdown-remark/v/5.0.0)

## Related packages

- [astro](https://since.dev/packages/npm/astro.md)
- [@astrojs/solid-js](https://since.dev/packages/npm/@astrojs/solid-js.md)
- [@astrojs/sitemap](https://since.dev/packages/npm/@astrojs/sitemap.md)
- [@astrojs/markdown-satteri](https://since.dev/packages/npm/@astrojs/markdown-satteri.md)
- [@astrojs/react](https://since.dev/packages/npm/@astrojs/react.md)
- [@astrojs/mdx](https://since.dev/packages/npm/@astrojs/mdx.md)

## 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.
