Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Adding `#L52` to the end of a code file URL will highlight that line number.

You can click the line number (in the column to the left of the code) to add the fragment to the URL, and Shift+click to select a range. Easier than editing the URL directly.



The cheat sheet has been updated to include that: https://github.com/tiimgreen/github-cheat-sheet/commit/a6d33...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: