# marked-linkify-it

> marked extension to use linkify-it for autolinks

Latest version **4.0.2** (published 2026-07-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install marked-linkify-it
pnpm add marked-linkify-it
yarn add marked-linkify-it
bun add marked-linkify-it
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 4.0.2 |
| Published | 2026-07-27 |
| First published | 2021-01-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 54 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 3 |
| Author | Tony Brix |
| Maintainers | tonybrix |
| Keywords | marked, linkify-it |

## Links

- npm: https://www.npmjs.com/package/marked-linkify-it
- Repository: https://github.com/UziTech/marked-linkify-it
- Homepage: https://github.com/UziTech/marked-linkify-it#readme
- Issues: https://github.com/UziTech/marked-linkify-it/issues
- npm.io page: https://npm.io/package/marked-linkify-it

## Dependencies (1)

- [linkify-it](https://npm.io/package/linkify-it.md) ^6.1.0

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 4.0.2 (latest) — 2026-07-27
- 4.0.1 — 2026-07-20
- 4.0.0 — 2026-07-15
- 3.1.15 — 2026-04-07
- 3.1.14 — 2025-11-07
- 3.1.13 — 2025-06-27
- 3.1.12 — 2024-11-09
- 3.1.11 — 2024-08-07
- 3.1.10 — 2024-06-12
- 3.1.9 — 2024-02-06
- 3.1.8 — 2023-12-09
- 3.1.7 — 2023-11-30
- 3.1.6 — 2023-11-11
- 3.1.5 — 2023-11-09
- 3.1.4 — 2023-09-11
- … 14 more at https://npm.io/package/marked-linkify-it/versions

## README

# marked-linkify-it

marked using [linkify-it](https://github.com/markdown-it/linkify-it) for urls

## Usage

```js
import { Marked } from "marked";
import markedLinkifyIt from "marked-linkify-it";

// or UMD script
// <script src="https://cdn.jsdelivr.net/npm/marked/lib/marked.umd.js"></script>
// <script src="https://cdn.jsdelivr.net/npm/marked-linkify-it/lib/index.umd.js"></script>

const options = {
  // see options below
};

const marked = new Marked();
marked.use(markedLinkifyIt(options));
marked.parse("example.com");
// <p><a href="http://example.com">example.com</a></p>
```

## `options`

see <https://github.com/markdown-it/linkify-it#api>

All linkify-it options plus the following additional options:

### `fuzzyLink`

`Boolean; Default: true`

`true` to enable recognition of URLs without schema (e.g. `example.com`). Note that this differs from linkify-it's default of `false`.

### `tlds`

`String|String[]; Default: undefined`

A list of TLDs (top-level domains) to add or replace in the domain list.

### `tldsKeepOld`

`Boolean; Default: false`

`true` to add domains in `tlds` option instead of replacing domain list.

### `schemas`

`Object; Default: undefined`

A map of schemas to add to linkify-it. linkify-it supports `http(s)://...` , `ftp://...`, `mailto:...` & `//...` links by default.

```JavaScript
const options = {
  schemas: {
    '@': {
      validate: function (text, pos, self) {
        // ...
      },
      normalize: function (match) {
        // ...
      }
    }
  }
};
```

---
_Source: https://npm.io/package/marked-linkify-it · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
