Update the code editor to support proper syntax highlighting for all currently non supported languages. This requires installing the following dependencies:
@codemirror/lang-json@codemirror/lang-rust@codemirror/lang-xml@nextjournal/lang-clojure@replit/codemirror-lang-csharp
Then, update the if statements in the CodeRenderer JSX component to support these new languages. (or refactor into a cleaner util)
Update the PROGRAMMING_LANGUAGES variable and ProgrammingLanguageOptions type inside types.ts with the new languages.
Update the code editor to support proper syntax highlighting for all currently non supported languages. This requires installing the following dependencies:
@codemirror/lang-json
@codemirror/lang-rust
@codemirror/lang-xml
@nextjournal/lang-clojure
@replit/codemirror-lang-csharp
Then, update the if statements in the
CodeRenderer
JSX component to support these new languages. (or refactor into a cleaner util) Update thePROGRAMMING_LANGUAGES
variable andProgrammingLanguageOptions
type insidetypes.ts
with the new languages.