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 solid integration #26

Merged
merged 12 commits into from
Oct 12, 2024
Merged

feat: add solid integration #26

merged 12 commits into from
Oct 12, 2024

Conversation

cmgriffing
Copy link
Contributor

Apologies for not creating an issue first.

This PR adds a Solid version of the component.

There was some work that needed to be put into the build process to support Solid's and React's JSX living side by side in the playground. Thanks to @crutchcorn for helping me with that.

I am happy to update the README with the appropriate snippet if the rest of this PR looks good.

Note

There is a quirk to rendering. The changes to stagger, lineNumbers, and other renderer options do not take effect until "Toggle Examples" is clicked. This is thought to be related to the two reactive systems, Vue and Solid, not working well together.

@antfu antfu changed the title Feature: add solid feat: add solid integration Oct 12, 2024
@antfu antfu merged commit 76b464d into shikijs:main Oct 12, 2024
8 checks passed
@antfu
Copy link
Member

antfu commented Oct 12, 2024

Awesome, thanks!

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.

3 participants