Questions tagged [autolinker.js]

Use for questions related to the Autolinker.js library.

Utility class used to process a given string of text, and wrap the matches in the appropriate anchor (<a>) tags to turn them into links.

Any of the configuration options may be provided in an Object (map) provided to the Autolinker constructor, which will configure how the link() method will process the links.

Documentation Reference: http://gregjacobs.github.io/Autolinker.js/docs/#!/api/Autolinker

1 questions
1
vote
3 answers

Excluding a specific link with Autolinker.js

I am using Autolinker.js to linkify text inputted from a form, but I would like to exclude example.com from being linked. var formInput = "Don't link example.com but link google.com and www.kbb.com please"; var linkedText =…
wogsland
  • 9,106
  • 19
  • 57
  • 93