Published unlisted
Edited
Jul 2, 2019
Insert cell
Insert cell
Insert cell
Insert cell
Changed in target
-
str = md`
+
str = `
[test](http://test.com) `
Insert cell
Removed in base
mdLinks(str)
Insert cell
Insert cell
input = html`
<p><a href="http://test.com">test</a></p>
`
Insert cell
arr = [].slice.call( input.querySelectorAll('a') );
Insert cell
markup = arr.map(function(elem) { return elem.outerHTML; });
Insert cell
urls = arr.map(function(elem) {
return elem.getAttribute('href');
});
Insert cell