[rfc-i] Line numbers
pkyzivat at alum.mit.edu (Paul Kyzivat) Fri, 05 February 2016 21:29 UTC
From: pkyzivat at alum.mit.edu (Paul Kyzivat)
Date: Fri, 5 Feb 2016 16:29:08 -0500
Subject: [rfc-i] Line numbers
In-Reply-To: <D0B85D9C-7E05-4579-9819-5CB8ED1E61E4@cisco.com>
References: <81A5FD6D-8F26-42B6-B16A-72AD73B4057A@cisco.com>
<56B4EEA8.2000503@dcrocker.net>
<446ADA70-38A1-4B59-9DEC-24148C849C6F@cisco.com>
<D0B85D9C-7E05-4579-9819-5CB8ED1E61E4@cisco.com>
Message-ID: <56B51424.7070206@alum.mit.edu>
On 2/5/16 4:08 PM, Joe Hildebrand (jhildebr) wrote: > 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. > How would this affect the indentation? Would the numbers start at the same place as unnumbered code? (Thus pushing the code further to the right.) Or would the code be positioned the same either way, with the numbers pushed further left? Thanks, Paul
- [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