Code Highlighter
Highlight your code to improve readability
This is a post for all tech bloggers out there who wants to blog about programming.
This example is achieved using highlight.js
, let's first install it:
Example, if we want to use javascript highlighting, we import as such:
Then in the case for NextJs, we can apply this to every post: