gregjacobs / Autolinker.js

Utility to Automatically Link URLs, Email Addresses, Phone Numbers, Twitter handles, and Hashtags in a given block of text/HTML
MIT License
1.48k stars 238 forks source link

Factor out search/replace functionality into a separate class #74

Closed gregjacobs closed 5 years ago

gregjacobs commented 9 years ago

To allow direct searching/replacing non-html strings.

Discussion in #67

CC @puzrin

puzrin commented 9 years ago

https://github.com/markdown-it/linkify-it

It's not complete yet (some tests fails when enabled). Positioned as low level lib to write linkifiers.

puzrin commented 9 years ago

@gregjacobs i published first version. Here you can play with online demo http://markdown-it.github.io/linkify-it/ . Let me know if you need something there.

gregjacobs commented 5 years ago

Forgot about this issue :satisfied:

Autolinker has supported .link() and .parse() methods for a while now.

Great job on yours though @puzrin! Random tidbit, I came across your markdown-it project just the other day when looking for a markdown parser :)