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

[@mantine/core] CodeHighlightTabs.tsx: Fallback unsupported language to plaintext #7387

Closed
wants to merge 3 commits into from

Conversation

imcvampire
Copy link

Instead of throwing unsupported code error, it fallback to plaintext.

It's the current behaviour of CodeHighlight component.

@imcvampire imcvampire changed the title Update CodeHighlightTabs.tsx: Fallback unsupported code to plaintext [@mantine/core] CodeHighlightTabs.tsx: Fallback unsupported code to plaintext Jan 21, 2025
@imcvampire imcvampire changed the title [@mantine/core] CodeHighlightTabs.tsx: Fallback unsupported code to plaintext [@mantine/core] CodeHighlightTabs.tsx: Fallback unsupported language to plaintext Jan 21, 2025
@rtivital
Copy link
Member

Please fix tests errors to proceed. To validate that tests are passing, run npm test command locally before submitting your changes.

@rtivital
Copy link
Member

rtivital commented Feb 2, 2025

You are welcome to reopen the PR if you are willing to fix the issues in tests

@rtivital rtivital closed this Feb 2, 2025
@imcvampire
Copy link
Author

@rtivital Sorry for late response. I can't re-open this one so I created a new one #7497

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

Successfully merging this pull request may close these issues.

2 participants