Is It Possible To Add Line Numbers To Code Samples In Biostar?
2
1
Entering edit mode
13.7 years ago

It seems to me that it would be very useful to add line numbers to code snippets. This facilitates comments/discussions directed at exact pieces of code, rather than having to paste the code in question into a comment (rather grotesque), as I have done here: Selecting Random Pairs From Fastq?

It would be even cooler if one were able to create a URL to specific lines of code...

Is this possible?

biostars code • 2.5k views
ADD COMMENT
3
Entering edit mode

IMHO this is something that should be discussed in the google group. Not here. See also this previous message.

ADD REPLY
0
Entering edit mode

Thanks. Was unaware of the Google Group.

ADD REPLY
4
Entering edit mode
13.7 years ago
Thaman ★ 3.3k

I dont think BioStar has this kind of facility in their forum. But pastebin is efficient tool for this kind of work. It's easy to share long lines of codes with short link and line number.

I strongly recommend to use pastebin because it's more professional way to share code between developers

ADD COMMENT
1
Entering edit mode
13.7 years ago

See also this question about "why are there no line numbers..." on the StackOverflow Meta site. Yes, there is in fact a StackOverflow site to discuss the site itself.

ADD COMMENT

Login before adding your answer.

Traffic: 1882 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6