therealsujitk
Hey! I can see you had the same issue 3 years ago. I can see that Flarum still does not have a proper syntax highlighting, and also that refresh-to-view-the-highlighting bug is still present. I have opened a bug report about it.
Have you solved your highlighting issues? My forum really needs it, and I am waiting for that bug fix and a better highlighting to start/open my community forum.