[rfc-i] Line numbers
jhildebr at cisco.com (Joe Hildebrand (jhildebr)) Fri, 05 February 2016 21:08 UTC
From: jhildebr at cisco.com (Joe Hildebrand (jhildebr))
Date: Fri, 5 Feb 2016 21:08:42 +0000
Subject: [rfc-i] Line numbers
In-Reply-To: <446ADA70-38A1-4B59-9DEC-24148C849C6F@cisco.com>
References: <81A5FD6D-8F26-42B6-B16A-72AD73B4057A@cisco.com>
<56B4EEA8.2000503@dcrocker.net>
<446ADA70-38A1-4B59-9DEC-24148C849C6F@cisco.com>
Message-ID: <D0B85D9C-7E05-4579-9819-5CB8ED1E61E4@cisco.com>
Here's a quick hack. If your input had <sourcecode number="true">, you might get something like: https://jsfiddle.net/jsmhamzy/ I put a couple of long lines in there so you can see how the scrolling will work. Note: The line numbers are links to themselves. There are likely a handful of other ways to do this. The design team can work on coming up with a way we all like if folks think it's useful. -- Joe Hildebrand On 2/5/16, 11:51 AM, "Joe Hildebrand (jhildebr)" <jhildebr at cisco.com> wrote: >Let me do a quick prototype, and hopefully it will make sense from that. > >-- >Joe Hildebrand > > > > > > >On 2/5/16, 11:49 AM, "Dave Crocker" <dhc at dcrocker.net> wrote: > >> >>On 2/5/2016 9:44 AM, Joe Hildebrand (jhildebr) wrote: >>> Does each line need a pilcrow so it can be referenced easily? That would seem busy. >> >> >>I don't understand the question. How does the presence of a paragraph >>mark, with the line number, facilitate reference. Or do you mean a >>two-part numbering scheme, such as par#.line# ? >> >>d/
- [rfc-i] Line numbers Joe Hildebrand jhildebr
- [rfc-i] Line numbers Julian Reschke
- [rfc-i] Line numbers Dave Crocker
- [rfc-i] Line numbers Joe Hildebrand jhildebr
- [rfc-i] Line numbers Joe Hildebrand jhildebr
- [rfc-i] Line numbers Paul Kyzivat
- [rfc-i] Line numbers Joe Hildebrand jhildebr