SyntaxUI / syntaxui

Get free access to pre-built, Tailwind CSS-powered components, animations and effects - brought to life using Framer Motion. Just copy, paste and you're ready to go!
https://syntaxui.com
MIT License
636 stars 45 forks source link

[BUG]: Shiki Loading Times #135

Closed epoll31 closed 2 months ago

epoll31 commented 2 months ago

Description 📝

Shiki takes a long time to load. We should migrate all code preview components to using 'react-syntax-highlighter'.

Link 🔗

n/a

Steps to Reproduce 🔄

  1. Open our site
  2. Navigate to a docs page that dispalys code
  3. View the Loading... message

Screenshots 📸

Screenshot 2024-05-03 at 10 09 25 AM

Expected Behavior 🤔

It should load much quicker.

Actual Behavior 😱

Loading taks a long time.

Environment 🌍

N/A

Additional Information ℹ️

No response