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 ✅ Get my 100+ item Client Process Checklist for $17. 📔 Flourish Journal for Creative Entrepreneurs - 365 days of prompts 🎥 Watch Circle Live: Hello Income (feat. Christy Price and Jeremy Schwartz) 🎬 Watch It's Not Hard to Say Goodbye: Crafting Client Offboarding from Circle Day 2023 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