Request for simple code editor with syntax highlight #5513
Closed
fengye87
started this conversation in
Feature requests
Replies: 2 comments
-
+1 This would be very handy. I've used Mantine in multiple projects already which need a code-highlighted input. Mantine already supports https://mantine.dev/x/code-highlight/, so perhaps this library could be combined with textarea/jsoninput, if not a base component, but as an example? |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is outside of Mantine scope, this feature is not planned to be added. You can use a third-party library for this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wish there's a generic code input/textarea component in Mantine, which support code highlight and is as easy to use as textarea.
There's JsonInput component, but it's just for json and lacks syntax highlight. Also, it's possible to handcraft something alike based on rich text editor, but that's not an easy journey.
Beta Was this translation helpful? Give feedback.
All reactions