shuding / nextra

Simple, powerful and flexible site generation framework with everything you love from Next.js.
https://nextra.site
MIT License
11.29k stars 1.23k forks source link

codeblock render very differently between nextra-theme-blog version 0.1.2 and 0.1.4 #108

Closed YikSanChan closed 2 years ago

YikSanChan commented 3 years ago

Hi,

I tried to bump nextra and nextra-theme-blog version for my site, but my codeblocks render differently.

PR: https://github.com/YikSanChan/site/pull/19 Check codeblock before the bump: https://yiksanchan.com/posts/practical-mlsys-goodreads Check codeblock after the bump: https://site-git-bump-nextra-yishengdd.vercel.app/posts/practical-mlsys-goodreads

basically, before: image after: image

Is there a way to maintain backward compatibility, or some upgrade guide? Thank you!

YikSanChan commented 3 years ago

@shuding Hi Shu, could you please help take a look? Thanks!

emptypockets-dev commented 3 years ago

I have the same issue with a default/new setup using Vercel

shuding commented 3 years ago

I’ll take a look soon!