Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to remove the wrapping background? #59

Open
Nithur-M opened this issue Jan 10, 2022 · 1 comment
Open

How to remove the wrapping background? #59

Nithur-M opened this issue Jan 10, 2022 · 1 comment

Comments

@Nithur-M
Copy link

I want to use this code block component with my custom background. How to remove the built-in bg wrapper for the code block?

@Aksent
Copy link

Aksent commented Aug 17, 2023

You can override the theme:

const overrideDraculaTheme = { ...dracula, backgroundColor: 'transparent' };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants