[rfc-i] Line numbers

Paul Kyzivat pkyzivat at alum.mit.edu
Fri Feb 5 13:29:08 PST 2016


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


More information about the rfc-interest mailing list