Simple Syntax Highlighting (SSH), simple, clean and lighweight plugin to integrate highlight.js into WordPress. highlightjs has automatic language detection an turn on syntax highlighting. You just need to select text than press button <ssh> or add the code into <pre> <code> </ code> </ pre> format.
Credit:
Highlight.js -
https://highlightjs.org
Line numbering plugin:
https://github.com/wcoder/highlightjs-line-numbers.js
Supports highlighting