
Mike Marcacci
324 posts

Mike Marcacci
@MikeMarcacci
Working on really cool things.











I don't know where to put my finger on exactly, but Vitepress 2 beta has recently had some problems with code blocks after hydration, causing either code to mess up or remove the syntax highlight entirely This bug only happens when the page loads after hydration, switching to another page, and then it's fixed At first, I thought it was me having a skill issue However, I dig down, fix every hydration issue, disable minify, switch between both rollup and rolldown, downgrade several dependencies, and there is absolutely no warning or error log Check out the preview deployment from several months and it was also there This also happens with Shiki doc Couldn't find any ongoing issues report either, and have no idea how to reproduce, but I notice it happens on several docs written with Vitepress too Quite frustrating














