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----

Link to comment
  • Replies 2
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.