A not usefull directive to auto create a link from a word
npm install https://github.com/Jonathan-Jan/ke-keyword
- "Automatic" creation of an <a> html element referencing a pre-defined page
- That's all
- What are you doing here ?
here's a quick exemple of how to use ke-keyword
First, you have to notice that keKeyword use a global variable named _keyWords where you should store matching map between keyword and link.
let _keyWords = {};
Add a keyword to the map
_keyWords['Tour Eiffel'] = 'https://fr.wikipedia.org/wiki/Tour_Eiffel'
Your HTML
<ke-keyword>Tour Eiffel</ke-keyword>
Result
<a href='https://fr.wikipedia.org/wiki/Tour_Eiffel'>Tour Eiffel</a>
Nope... Sorry
MIT - see LICENSE.md.