How does syntax highlighting work

Most of the time when you are reading the code on many online websites, you find code very colorful that makes it more readbable. If you are not familiar with the syntax highlighter have a look at the following code

How does this beautiful thing work? We will create a very basic syntax highlighter […]

Continue reading