Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Github gist highlight code

Tags:

github

gist

I am trying to highlight a few lines of code on gist, but it is not working.

I am trying to follow the example mentioned in this link

https://gist.github.com/codingdawg/36be275685d0d09e3a0140e2a4d929e6/#L10 https://gist.github.com/codingdawg/36be275685d0d09e3a0140e2a4d929e6/#L28-L33

Both the above links are not highlighting the code.

like image 670
Praveen Reddy Avatar asked Oct 25 '25 12:10

Praveen Reddy


1 Answers

Nearly :-)

Here are the fixed links, highlighting should be working:

https://gist.github.com/codingdawg/36be275685d0d09e3a0140e2a4d929e6#file-soapcreateenvelopefromtemplate-java-L10

https://gist.github.com/codingdawg/36be275685d0d09e3a0140e2a4d929e6/#file-soapcreateenvelopefromtemplate-java-L28-L32

In the future you can click the line number in the sidebar for a single line.

For multiple click the start point, then shift + click the last line for the area highlight.

like image 123
James Gould Avatar answered Oct 27 '25 03:10

James Gould