Turn plain URLs in text into Markdown links. Works in the browser and on the server.
"Made by folks from https://spectrum.chat"
"Made by folks from [https://spectrum.chat](https://spectrum.chat)"
const linkify = ;const text = 'Made by folks from https://spectrum.chat'const linked = ;console// -> 'Made by folks from [https://spectrum.chat](http://spectrum.chat)'
linkify-it to detect URLs which supports major TLDs without protocol (
facebook.net etc) and everything that uses a protocol. (e.g.
mailto:email@example.com) We err on the side of being certain and not-linkifying rather than over-linkifying.
npm install --save markdown-linkify# or if you have yarn installedyarn add markdown-linkify
Licensed under the MIT License, Copyright ©️ 2017 Maximilian Stoiber. See LICENSE.md for more information.