Created
September 4, 2016 18:23
-
-
Save theY4Kman/0be1fa67f80ee9455c0e6e085ed43050 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
copy(Array.prototype.slice.call($$('.essays2015-essay')).map(function(e) { var title = $('.essays2015-essay-title', e), content = $('.essays2015-essay-content', e); return '## ' + title.innerText + '\n\n' + content.innerText.replace(/(.)(\n.)/mg, '$1 $2') }).join('\n\n\n')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment