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

feat: add shiki support for .tsx and .jsx and add graceful fallback (text display) #335

Merged
merged 1 commit into from
Jul 18, 2024

Conversation

johann-crabnebula
Copy link
Contributor

This adds proper handling for .jsx and .tsx file types in our sources panel.

It also adds a graceful fallback to text display if for some reason the language could not be found.

Closes DT-155

Copy link

netlify bot commented Jul 18, 2024

Deploy Preview for cn-devtools-app ready!

Name Link
🔨 Latest commit 1e59f55
🔍 Latest deploy log https://app.netlify.com/sites/cn-devtools-app/deploys/669889d73190770008595829
😎 Deploy Preview https://deploy-preview-335--cn-devtools-app.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@johann-crabnebula johann-crabnebula merged commit f701965 into main Jul 18, 2024
6 checks passed
@johann-crabnebula johann-crabnebula deleted the feat/DT-155-jsx-tsx-shiki-support branch July 18, 2024 06:50
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