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

[code] - Implement Code component with syntax highlighting #219

Closed
vnphanquang opened this issue Aug 3, 2023 · 0 comments
Closed

[code] - Implement Code component with syntax highlighting #219

vnphanquang opened this issue Aug 3, 2023 · 0 comments
Assignees

Comments

@vnphanquang
Copy link
Owner

Discussion

Currently docs site uses svelte-highlight, which is good but has some shortcoming for our specific use cases:

=> look into alternative & possibility of implementing a self-sufficient Code component that overcomes the above.

Resources

The svelte-kit docs uses svelte-prisma, but it render html from backend. How to do it dynamically without trading performance?

There is also highlightjs-svelte, and highlightjs is arguably a better solution giving that individual syntax-highlighting language module can be imported separately???

@vnphanquang vnphanquang self-assigned this Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant