Formatting code in MDX

Hi all,

I’m unable to format code in vercel for my MDX blog posts. I have the code blocks inside ` ` ` but when I push to github and then pull on v0, it automatically escapes these characters and replaces it with \` (3 times, unable to write it here as it gets formatted but it’s basically this thing 3-ice) .

And so the content is butchered and not formatted. Even the mermaid diagrams suffer due to this. I don’t know why and how this happens.

Can you please suggest a fix ?

This is what I see in v0

Even though I pushed ` ` `.

So here’s how it gets rendered:

Did you know there’s another category dedicated to v0 topics? A human should be here soon to help, but the answer may already be available even faster in one of these other posts.

Our docs are a great place to start.

We also have a walkthrough to help guide your workflow.

And these recordings can give you a look at v0 features and strategies in action shown by our Community:

https://community.vercel.com/tags/c/events/42/v0

Thanks for reporting, I can confirm this is a bug in git sync for v0. I’ll ping the v0 team about it

Thanks Jacob.

This is affecting a major feature in my app and it’s directly affecting conversions. Could you please push the team to take this up on priority and keep me posted ? Would be of great help!

Thanks & Regards

Ayusch

Any updates on this ? This seems like a major bug as v0 is editing files automagically.

I’ve reported another bug where v0 is updating my package.json automagically. It updates dependencies from specific versions to “latest”. This is a major major issue which broke my checkout flow, blogs.