title: Count the lines of a PRE element using jQuery
body: <p>How can I count how many lines of text a <code>&lt;pre&gt;</code> tag contains?</p>
  
  <p>I want to append a absolute div with line numbers next to it.</p>