Skip to content

Instantly share code, notes, and snippets.

@elia
Last active December 26, 2015 04:59
Show Gist options
  • Save elia/7097560 to your computer and use it in GitHub Desktop.
Save elia/7097560 to your computer and use it in GitHub Desktop.
reading meh's code
javascript:e=document.querySelector('div.highlight>pre');e.innerHTML=e.innerHTML.replace(/( )+/g,function(s){return new Array((s.length/6/4)+1).join(' ')}).replace(/\t/g,'  ')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment