jQuery lineLine (only 1 KB)
a lightweight jQuery plugin for add linenumber to textarea or code or nay other tag
Usage:
$('textarea').lineLine();
Demo:
http://habibhadi.com/lab/jquery-lineline/
Using bower?
bower install jquery-lineline --save-dev
Options:
startsFrom: 0 className: 'lineline'