[rfc-i] Line numbers

Julian Reschke julian.reschke at gmx.de
Fri Feb 5 09:53:24 PST 2016


On 2016-02-05 18:44, Joe Hildebrand (jhildebr) wrote:
> (New thread)
>
> On 2/4/16, 6:53 PM, "rfc-interest on behalf of Martin J. Dürst" <rfc-interest-bounces at rfc-editor.org on behalf of duerst at it.aoyama.ac.jp> wrote:
>
>
>
>> BTW, do we have the possibility to add line numbers to source code
>> blocks? That can often be very handy.
>
> I think I'd like that too.  I'm willing to prototype it to see what it looks like.

+1 (optional of course...)

> Does each line need a pilcrow so it can be referenced easily?  That would seem busy.

Making the line number a bookmarkable anchor should be sufficient.

> What about xref's to a single line?

Yes.

I've tried this a few times, and the hard part is to come up with HTML 
that is still friendly to select and copy from...

Best regards, Julian




More information about the rfc-interest mailing list