Code Syntax Highlighting in Hubspot and Blogger
As a developer myself I look for code online literally every single day. One of the worst things you can find is an ill written blog, with actual code examples of what you are looking for but with bad formatting. It is absolutely awful when you find precisely what you wanted and it's plain, unreadable and intelligible text. We all know syntax highlighting is key to understanding code, that's why every developer has their editor of choice. Light theme or dark them (#darkteam here) but always highlighting the keywords. Knowing the importance of that I wanted to provide it for my readers and it turns out Hubspot doesn't handle it very well. I looked online and found an article that seems to be outdated now. Basically there's a "code" block that is supposed to do what I want but it didn't quite work. Also, I'm assuming the array of different syntaxes it can handle is very limited. Fortunately for me and my readers I'm a developer and I can come up with...