interweave-autolink

URL, IP, email, and hashtag autolinking support for Interweave.

Usage no npm install needed!

<script type="module">
  import interweaveAutolink from 'https://cdn.skypack.dev/interweave-autolink';
</script>

README

Interweave with Autolinking

Build Status npm version npm deps

Provides URL, IP, email, and hashtag autolinking support for Interweave.

<Interweave
  content="This contains a URL, https://github.com/milesj/interweave, and a hashtag, #interweave, that will be converted to an anchor link!"
  matchers={[new UrlMatcher('url'), new HashtagMatcher('hashtag')]}
/>

Installation

yarn add interweave interweave-autolink
// Or
npm install interweave interweave-autolink

Documentation

https://interweave.dev/docs/exts/autolink