ritajs-v2
ritajs-v2 copied to clipboard
Add link() transform
Types of links: html, riscript-internal, custom?
Use-case for arguments.
A. inline
(Some text).link(http://blah.com/foo/bar.html)
(Some text).link(foo/bar.html)
B.
$opts={type:html, href:http://blah.com/foo/bar.html, target:_blank } // a JSON string
(Some text).link()