Correctly using PrismJS (Syntax Highlighter) for Hubspot Blog posts
resolver
I tried this in my hubspot account and it works fine. The only problem that I have is that it puts my code all on one line. Do you maybe know what's going wrong here?
So on your blog layout, you should be able to call the prism.js CDN and then edit the source code for your blogs to correctly use their formatting structure. This blog post talks about the usage of prism.js in HubSpot, so you should be able to!
I couldn't find an A-Z tutorial on prism.js, but I do know that the copy-pasting of code is extremely valuable. I would for sure look into getting it implemented!