RaulVelasquez Posted December 12, 2021 Share Posted December 12, 2021 Site URL: https://wellsr.com/vba/2021/excel/vba-range-find/ I am looking for information about how to display a block of formatted programming code such as VBA (Visual Basic for Applications) into a blog post that is formatted with all the colors that a developer would see if they were editing VBA code within an editor that auto-formats the code for them. An example of a website with blocks of code displayed is https://wellsr.com/vba/2021/excel/vba-range-find/ I would be fine with using any extensions that help facilitate this, or WYSIWYG text editors that allow me to apply color to the fonts manually, and then paste it into a blog post as a custom paragraph box that has some background fill and a border to convey it is a block of sample code for the reader to copy and paste into their projects. Overall I am looking for whether its possible to do on SquareSpace (I assume it is), and if so, direction of how to best approach it. Beyondspace 1 Link to comment
Beyondspace Posted December 12, 2021 Share Posted December 12, 2021 1 hour ago, RaulVelasquez said: Site URL: https://wellsr.com/vba/2021/excel/vba-range-find/ I am looking for information about how to display a block of formatted programming code such as VBA (Visual Basic for Applications) into a blog post that is formatted with all the colors that a developer would see if they were editing VBA code within an editor that auto-formats the code for them. An example of a website with blocks of code displayed is https://wellsr.com/vba/2021/excel/vba-range-find/ I would be fine with using any extensions that help facilitate this, or WYSIWYG text editors that allow me to apply color to the fonts manually, and then paste it into a blog post as a custom paragraph box that has some background fill and a border to convey it is a block of sample code for the reader to copy and paste into their projects. Overall I am looking for whether its possible to do on SquareSpace (I assume it is), and if so, direction of how to best approach it. Would this help? How to use highlight.js (highlightjs.org) creedon and Dave_Sheppard 2 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Dave_Sheppard Posted December 18, 2021 Share Posted December 18, 2021 I can confirm the Highlights.js works for this purpose, as I am using it to produce these results myself. 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