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

[Feature Request] Code editor box with syntax highlighting #4020

Open
AtharvaKolekar opened this issue Nov 9, 2024 · 1 comment
Open

[Feature Request] Code editor box with syntax highlighting #4020

AtharvaKolekar opened this issue Nov 9, 2024 · 1 comment

Comments

@AtharvaKolekar
Copy link

Is your feature request related to a problem? Please describe.

I was looking for UI component for code-box https://nextui.org/docs/components/textarea but didn't found it.

Describe the solution you'd like

A new component I want to suggest is code editor similar to prism-code, which highlights syntax to desired language.
It can be flexible (edit or read-only), copy button, language selector, custom themes, numbering the lines, external link to execute the code......just how the docs page have the code tab option.

Describe alternatives you've considered

prism-code

Screenshots or Videos

image
Example is itself inside the docs

Copy link

linear bot commented Nov 9, 2024

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

No branches or pull requests

1 participant