This small note to document steps for code highlighting in HTML. There are many ways to do this, but these are the steps that works for me.
https://github.com/wcoder/highlightjs-line-numbers.js/
which adds line number to highlight.js since highlight.js does not support line numbers.
References: