Back to the source code on GitHub.
Demo styles (border on <body> and a background-color on <line-numbers>) have been added here to demonstrate obtrusive behavior (the numbers intrude on and shrink the width of the original content).
# Hello {{ subject }}
line
another line
this is getting longer
this is getting longer
# Hello {{ subject }}
line
another line
this is getting longer
this is getting longer
<pre> with vertical overflow# Hello {{ subject }}
line
another line
this is getting longer
this is getting longer
<pre> with vertical overflow (obtrusive)# Hello {{ subject }}
line
another line
this is getting longer
this is getting longer
<pre> with horizontal overflow# Hello {{ subject }}
line
super long line super long line super long line super long line super long line super long line super long line super long line super long line super long line super long line
another line
this is getting longer
this is getting longer
<pre> with horizontal overflow (obtrusive)# Hello {{ subject }}
line
super long line super long line super long line super long line super long line super long line super long line super long line super long line super long line super long line
another line
this is getting longer
this is getting longer
<pre> with both overflow# Hello {{ subject }}
line
super long line super long line super long line super long line super long line super long line super long line super long line super long line super long line super long line
another line
this is getting longer
this is getting longer
<pre> with both overflow (obtrusive)# Hello {{ subject }}
line
super long line super long line super long line super long line super long line super long line super long line super long line super long line super long line super long line
another line
this is getting longer
this is getting longer
# Hello {{ subject }}
line
another line
this is getting longer
this is getting longer
# Hello {{ subject }}
line
another line
this is getting longer
this is getting longer
If you type additional lines into the textarea, we add more numbers.
# Hello {{ subject }}
line
another line
this is getting longer
this is getting longer