-
Notifications
You must be signed in to change notification settings - Fork 45
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 editor additional languages #2684
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested it out and looked good to me, just a couple small nits.
Ruby = 'ruby', | ||
Shell = 'shell', | ||
Go = 'go', | ||
Hcl = 'hcl', | ||
Javascript = 'javascript', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: should it be JavaScript
?
"@hashicorp/design-system-components": minor | ||
--- | ||
|
||
hds-code-editor: Add language syntax highlighting suport for JavaScript and Rego |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: should we include that theres a new dep @codemirror/lang-javascript
?
📌 Summary
If merged, this PR adds syntax highlighting support for JavaScript and Rego to the
hds-code-editor
modifier.🛠️ Detailed description
📸 Screenshots
🔗 External links
Jira tickets:
HDS-4452
HDS-4469
👀 Component checklist
💬 Please consider using conventional comments when reviewing this PR.