Last Updated: January 10, 2017
·
3.854K
· jasonseney

Bookmarklet - Generate a Markdown link for current page

This bookmarklet will take the title and url of the current page and create a Markdown formatted link for you to copy & paste.

Create a new bookmark and paste the following code in as the "address":

javascript:prompt('Markdown%20link%20for%20this%20page:','['+document.title.replace("[","\\[").replace("]","\\]")+']('+document.location.href+')');

Example screenshot of the result:

Picture

Note: Unfortunately coder wall strips out javascript in the href of a link so you'll need to create the bookmark instead of dragging it to your bookmark bar.

1 Response
Add your response

JIRA Version:

javascript:prompt('JIRA%20link%20for%20this%20page:','['+document.title.replace("[","\\[").replace("]","\\]")+'|'+document.location.href+']');
over 1 year ago ·