DanielLangenhan Posted December 13, 2022 Share Posted December 13, 2022 (edited) HI all, I want to display on my blog some code (not code as in HTML injections for sqarespace) that I want to publish. I would like line numers and formating (color) for JavaScript, JSON, Yaml, C++ etc. Any ideas how to do this easy and nice looking? Thanks Edited December 13, 2022 by DanielLangenhan Link to comment
Solution christyprice Posted December 13, 2022 Solution Share Posted December 13, 2022 Hi @DanielLangenhan, I think the simplest way to do this would be to embed the code from GitHub Gist or CodePen. DanielLangenhan 1 christyprice.com 🇺🇸 Austin, TX US ✅ For Web Designers: Squarespace Client Process Checklist. Save time and bring consistency to your web design projects. Receive a Notion doc template with my 100+ item client process checklist. Link to comment
DanielLangenhan Posted December 23, 2022 Author Share Posted December 23, 2022 Gist and was the google golden ticket. THANKS http://curious-engineering.com/home/2020/10/16/explore-code-snippets-in-squarespace-with-github-gists christyprice 1 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