Styled CMS Code Embeds
Happy Thursday!
I recently needed a way to embed styled code snippets into the Webflow CMS. Figured it might benefit others to share it in a simple cloneable project.
Everything is styled and configured to be super easy to drop into your project. The code is located in embeds, the page is a static Webflow page (not connected to the CMS), and all styles are applied via class names so you won't lose anything during the copy/paste process.
I hope it serves you well!
The layout is by Flowbase, the sticky table of contents is by Flowrite (1), and the code styling is by highlight.js (2). Photos from Pexels.
1. https://www.flowrite.com/blog/dynamic-table-of-contents-on-webflow-cms
2. https://highlightjs.org/