JSPM

  • Created
  • Published
  • Downloads 10471
  • Score
    100M100P100Q151401F
  • License MIT

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

Package Exports

  • interweave-autolink
  • interweave-autolink/esm/index.js
  • interweave-autolink/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (interweave-autolink) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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