linkify-plugin-mention
Detect and convert Twitter- and GitHub- style "at"-mentions (@mentions) to
<a>
anchor tags with Linkify.Installation
Install from the command line with NPMnpm install linkifyjs linkify-plugin-mention
Import into your JavaScript with
require
const linkify = require('linkifyjs')
require('linkify-plugin-mention');
or with ES modulesimport * as linkify from 'linkifyjs';
import 'linkify-plugin-mention';