Convert raw HTML or code into a ready-to-use format.
Designed especially to work with Finsweet's Code Highlight attribute.
Paste your HTML or code into the left-side input and click convert.
If you write blogs, technical articles, or courses in Webflow that contain code, syntax higlighting is essential to make them readable.
Webflow does not offer this feature natively, however the good folks at Finsweet have made Code Highlight available as a part of their Attributes tool collection.
When you use it, you must prepare your content properly, which is what this tool does.
Finsweet's Code Highlight uses highlightjs, which supports the ability to theme your highlighting as well.
Instructions and options are shown at the bottom of Finsweet's docs.
Unfortunately, I can not easily demonstrate those highlighting styles in this tool, or make them a selectable option due to the way Code Highlight works on page load. We do not have a way to invoke it on-demand to target your generated output, since the tool page has already loaded.
Fear not, your code will be pretty in your published page.
Some things we might add in the future-