This addon is a template helper for https://github.com/gregjacobs/Autolinker.js.
ember install ember-autolinkify
Will be: <a href="https://google.com/" target="_blank" rel="noopener noreferrer">google.com</a>
Will be: <a href="https://google.com/">google.com</a>
WARNING: you need to use this helper with unsafe handlebars ({{{htmlHereThatCanBeBad}}}
). It is recommended if this is being used for user inserted data that you use it alongside https://github.com/sivakumar-kailasam/ember-purify.
https://github.com/gregjacobs/Autolinker.js#options
ENV.APP.linkify = {
// Refer to various config options in the Autolinker.js README
};
You can pass any of the options into the helper.
Will be: <a href="https://google.com/">google.com</a>
-
git clone https://github.com/postedin/ember-autolinkify.git
-
cd ember-autolinkify
-
yarn install
-
Ember.js v2.18 or above
-
Ember CLI v2.13 or above
-
Node.js v8 or above
ember install ember-autolinkify