Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.
/ ember-autolinker Public archive

ember-cli addon for using Autolinker.js in ember

License

Notifications You must be signed in to change notification settings

adfinis/ember-autolinker

Repository files navigation

ember-autolinker

Build Status codecov

This addon wraps Autolinker.js for use in Ember apps.

Usage

{{autolink 'Your text containing URLs like google.com or http://www.something-else.xyz?whatever=you#like'}}

Options

If your text contains HTML, you can disable HTML safety by passing true as second argument:

{{autolink "fancy html<br>with <strong>emberjs.com</strong>" true}}

Installation

  • git clone git@github.com:adfinis-sygroup/ember-autolinker.git
  • cd ember-autolinker
  • yarn

Running

Running Tests

  • yarn test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit https://ember-cli.com/.