Source Code Block in a blog post

"

HubSpot does not have a built-in tool or plug-in for formatting and highlighting code snippets in your content, but, you can edit the source of your content and use the HTML <code> tag or HubL {% raw %} tag to display code. However, the syntax of this code will not be automatically highlighted.

This article from our Designers’ Blog goes over using code snippets in your HubSpot Content: How To Insert Source Code Into Your HubSpot Blog Post

The article also mentions using Prism.js in order to highlight specific syntax in your code. I do not have any experience with Prism.js but it appears to be a popular tool that should allow you to highlight the syntax of your code snippets in HubSpot.

"

thanks for this it help out alot .. saved us alot of running around to find a solution .. thanks again