Skip to content

Instantly share code, notes, and snippets.

@bhgraham
Last active May 24, 2017 05:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bhgraham/2ebd7b993bcd0562aab2d9f84e79600c to your computer and use it in GitHub Desktop.
Save bhgraham/2ebd7b993bcd0562aab2d9f84e79600c to your computer and use it in GitHub Desktop.
print the whole rendered article bookmark with this URL to print the preview:
javascript:var w = window.open();var html = "<!doctype html><html><body>" + $(".js-rendered-markdown").html() + "<script>w.print();</script>" + "</body></html>";$(w.document.body).html(html);
login bookmarklet
javascript:(function(){window.location=window.location.origin+'/ghost';})();
edit post
Drag the link below to your bookmarks bar and click it when you’re viewing a post on your Ghost blog:<br /><br /><a href="javascript:var%20url%20=%20window.location;newUrl%20=%20url+"/edit";window.location.replace(newUrl);">Edit Post!</a><br /><br />It will append <code>/edit</code> to the url and reload, so you can edit your post<br /><br />— Built with ❤ by <a href="http://curiositry.github.io">@curiositry</a> (<a href="http://twitter.com/curiositry">Twitter</a>, <a href="http://github.com/curiositry">GitHub</a>)
http://www.copyio.com/ghost-template-bookmarklet/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment