Raynes/refheap — Issue #29: Highlight the line number that is anchored
Author: Raynes
Created: 2012-01-06 03:18:12+00:00
State: open

You can anchor to line numbers if you want to point someone at a specific part of your code. However, if your paste is so short that the whole thing fits in the window or the line number you're anchored to is near the top, there will be no visible cues as to which line number you're pointed to. You'd have to look at the URL and then look for that line. We don't have to make things complicated and highlight the whole line (I'm not sure if that's even feasible with Pygments). As a matter of fact, I don't want to. I think it'd be really cool to highlight the actual line number itself. That should be easy to do with a little Javascript. We can make it some bright color that sticks out.