I was looking for an easy solution to add line count and language name to my code blocks and on the highlight.php repo and I found an issue giving the following solution :
Both modifications don't change the default look (I haven't run the tests) and with some CSS it allows to easily display line number and language name in code blocks.
Hey Johann,
Thank you for this great plugin !
I was looking for an easy solution to add line count and language name to my code blocks and on the highlight.php repo and I found an issue giving the following solution :
So I edited the HighlightAdapter.php file
added 2 lines for the line numbering
edited 1 line for the language name
Both modifications don't change the default look (I haven't run the tests) and with some CSS it allows to easily display line number and language name in code blocks.
I wanted to share the info, but I can create a pull request if you like.
Have a great day, Robin