Bookmarklet
<code>
Wrap selection with
<code>
var selection = window.getSelection(), wrap = document.createElement("code") range = selection.getRangeAt(0) range.surroundContents(wrap)