Add line numbering in paragraphs

I am developing a web application in which I have to print a paragraph with every 5th line numbered according to line number

    I am living in New Jersey
2   who like to study music 
    create new applications
4   which can help others.

I am unable to write the html/css code for this.

I am using ajax request to extract paragraph data line by line anf Mustache.js to render the data

Source: html5

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.