All updates

Enhancement

Designer

Style All <pre> Tags in Code Blocks

Webflow now lets you style all <pre> tags in Code Blocks, improving accessibility and control over code formatting.

Style All <pre> Tags in Code Blocks

Style all <pre> tags in Code Blocks with ease

Previously, in order to apply consistent styling across Code Blocks, Webflow users would need to write custom CSS as a workaround. Today, we’re releasing an update that allows you to style all <pre> tags inside Code Blocks, making it easier to apply formatting like text-wrap and white-space properties without extra effort —and making Code Blocks more scalable to manage across your Webflow projects.

To learn more about how to leverage and style Code Blocks in Webflow, visit our Help Center. 


Launched on
January 31, 2025
Category
Designer

Related updates

Build with React components in Webflow

Build with React components in Webflow

Learn more
Custom tooltips for component props

Custom tooltips for component props

Learn more
Shared Libraries available on all paid Workspace plans

Shared Libraries available on all paid Workspace plans

Learn more
Introducing Webflow Interactions, powered by GSAP

Introducing Webflow Interactions, powered by GSAP

Learn more
Rename elements and component instances

Rename elements and component instances

Learn more
Advanced variables with functions

Advanced variables with functions

Learn more

Get started for free

Try Webflow for as long as you like with our free Starter plan. Purchase a paid Site plan to publish, host, and unlock additional features.

Get started — it’s free
Watch demo

Try Webflow for as long as you like with our free Starter plan. Purchase a paid Site plan to publish, host, and unlock additional features.