John_Squarify Posted May 19 Share Posted May 19 (edited) Hey all, Sometimes you need to put code blocks onto your Squarespace site. The problem is that by default, code blocks on Squarespace look very plain and don't give the best reading experience for your users. The solution is to add syntax highlighting, so your code blocks go from this to this: When I wanted to do this I had to spend a few hours figuring out exactly how to get it to work, so I wrote a blog post describing how to do this in 2 minutes. Hope it's helpful! https://www.squarify.xyz/secrets-to-squarespace/how-to-make-code-blocks-look-nice-on-your-squarespace-website?utm_source=forum Edited May 19 by John_Squarify sayreambrosio 1 I make premium Squarespace plugins and give them away for FREE at https://squarify.xyz . 🛒 Peekaboo Side Cart Plugin 🎬 Video Lightbox Plugin 🌗 Dark Mode Toggle Plugin 🤯 Why Free? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment