# What changed in remove-markdown

> 11 changes in remove-markdown 0.6 to 0.8 from its official release notes, upgrade guides and advisories: 4 new APIs and options. Each one cited. Sources checked 2026-11-03. HTML: https://unstale.sh/npm/remove-markdown/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## remove-markdown 0.8

### New APIs and options

- Adds an opt-in option to remove leading MDX import blocks from excerpts; it defaults to false, preserving existing Markdown output. (0.8.0) — [release notes](https://github.com/zuchka/remove-markdown/releases/tag/0.8.0)

## remove-markdown 0.7

### New APIs and options

- A self-contained ESM entry can be loaded directly by browsers and URL-based module loaders. (0.7.0) — [release notes](https://github.com/zuchka/remove-markdown/releases/tag/0.7.0)
- Deno 2 users can import the npm package directly. (0.7.0) — [release notes](https://github.com/zuchka/remove-markdown/releases/tag/0.7.0)
- Node.js ESM consumers can use a native default import while retaining the callable default API. (0.7.0) — [release notes](https://github.com/zuchka/remove-markdown/releases/tag/0.7.0)

### Behavior and default changes

- An explicit export map provides predictable resolution for the root API, established deep imports, declarations, metadata, README, and license. (0.7.0) — [release notes](https://github.com/zuchka/remove-markdown/releases/tag/0.7.0)

### Tooling

- CommonJS and ESM consumers receive matching module-specific TypeScript declarations. (0.7.0) — [release notes](https://github.com/zuchka/remove-markdown/releases/tag/0.7.0)

### Fixes and other changes

- Selected tags with attributes, such as <code class="language-js">, are now preserved. (0.7.1) — [release notes](https://github.com/zuchka/remove-markdown/releases/tag/0.7.1)
- Tag matching now respects name boundaries, so selecting `code` does not preserve `<codes>`. (0.7.1) — [release notes](https://github.com/zuchka/remove-markdown/releases/tag/0.7.1)

## remove-markdown 0.6

### Tooling

- Added `throwError` to the TypeScript typings. (0.6.4) — [release notes](https://github.com/zuchka/remove-markdown/releases/tag/0.6.4)

### Fixes and other changes

- Fixed the option so it works. (0.6.4) — [release notes](https://github.com/zuchka/remove-markdown/releases/tag/0.6.4)
- The TypeScript definitions now mark `useImgAltText` as optional. (0.6.4) — [release notes](https://github.com/zuchka/remove-markdown/releases/tag/0.6.4)
