Files | Admin

Notes:

Release Name: REL 1.0.0

Notes:
README for sentence_links
=========================

Embeds <a href='...'> links within a sentence, from last word to first.
Useful for using descriptive sentences in blogs that reference 1+ urls.

Usage:

"There are many links".with_links(['http://test.com', 'http://test2.com'])
=> "There are <a href='http://test.com'>many</a> <a href='http://test2.com'>links</a>"

If there are more links than words in the sentence, then addition 'here' words are added:
=> "<a href='http://test1.com'>There</a> <a href='http://test2.com'>are</a> <a href='http://test3.com'>many</a> 
<a href='http://test4.com'>links</a>
(also <a href='http://test5.com'>here</a>, <a href='http://test6.com'>here</a>, 
and <a href='http://test7.com'>here</a>)"

Installation:

> gem install sentence_with_links

Activation:

gem 'sentence_with_links'
require 'sentence_with_links'




Changes: