Jump to content

Displaying Code with Syntax Highlights

Recommended Posts

I followed these steps https://poshsecurity.com/blog/powershell-syntax-highlighting-with-squarespace

and within my blog it works ( while I'm in sqaurespace) See first attached pic.  But when it is published it looks like normal code without the syntax highlighting..  I've tried a code block to call out powershell and I've used markdown like in the tutorial and both have the same result.  Any ideas?codewithinblog.thumb.PNG.0818fa2e3e1180780506c746f08f52f9.PNG

 

codeafterpublish.thumb.PNG.7ddcb241b0c03fd8f33ee9aba9bcf7b7.PNG

 

----update I notice when I hit refresh on the page it displays properly----

Edited by SkylinesAmy
new observation
Link to comment
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.