ember-html-excerpt
v1.0.1
Published
The default blueprint for ember-cli addons.
Downloads
343
Readme
ember-html-excerpt
This is a super simple addon that contains exactly one helper {{excerpt}}
which is designed to take a HTML string in and return an "excerpt" of the text
contained in that HTML.
Compatibility
- Ember.js v3.24 or above
- Embroider or ember-auto-import v2
Installation
ember install ember-html-excerpt
Usage
By Default the excerpt helper will extract the first 50 words from the HTML that is passed in.
TODO: if anyone wants to contribute more details on the API of the excerpt helper any PR would be much appreciated 👍
Contributing
See the Contributing guide for details.
License
This project is licensed under the MIT License.