refactor file extension name detection
fix source code line numbers when line is too long
add patch link to commit page
add link to raw blob