I’m reaching out to the community for some advice or guidance on an issue I’m facing with importing blog posts into Webflow.
The Challenge: I have around 500 blog posts that I need to migrate to Webflow. These posts are currently in a CSV format. A significant feature of these blog posts is that they contain over 3,000 code snippets, which are crucial to the content. These snippets are currently formatted within
<pre><code> tags in the CSV.
The Problem: When I import these posts into Webflow, the platform’s HTML ‘clean-up’ process seems to strip away these
<pre><code> tags. As a result, all my code snippets are converted into plain text within
<p> tags, losing their distinct formatting and structure.
What I Need: A way to automatically preserve the formatting of these code snippets during the import process. Manually reformatting each snippet isn’t feasible due to the sheer volume.
I am looking for any suggestions, tools, or workflows that could help me maintain the original formatting of these code snippets in the imported blog posts. Has anyone here faced a similar challenge? How did you solve it? Any help or direction would be greatly appreciated!
Thank you in advance!