nextra icon indicating copy to clipboard operation
nextra copied to clipboard

Seems to be adding `not-prose` to code blocks on the latest blog theme

Open markmead opened this issue 3 years ago • 1 comments

Just bumped Nextra to the versions used for your personal website and it appears to be adding not-prose to code blocks.

Is there anyway to turn that off?

Can be seen here - https://markmead-git-update-site-markmead.vercel.app/posts/alpine-textarea-auto-grow

markmead avatar Jul 07 '22 16:07 markmead

To be fair, it's an improvement with that syntax highlighting, but it has knocked out some of the margin CSS.

markmead avatar Jul 08 '22 12:07 markmead

@markmead Hey 👋, why do you want to remove not-prose?

dimaMachina avatar Aug 15 '22 09:08 dimaMachina

It breaks the margin CSS that comes with the prose class from Tailwind CSS. It's not a huge issue as it can be fixed with some CSS and it has a huge improvement with the syntax highlighting.

markmead avatar Aug 15 '22 11:08 markmead