Is your feature request related to a problem? Please describe.
I use an LLM to help me code in a little-known programming language called Xojo. Code examples output by the model correctly produce Markdown code fences flagged as xojo but the syntax highlighter used by Open WebUI does not support this language natively.
Describe the solution you'd like
I have written a language definition for highlight.js (which is what I believe Open WebUI uses to highlight code) but I need a way to inject this JS into WebUI so my language will be highlighted.
Describe alternatives you've considered
There isn't a good alternative. The highlight.js maintainers are no longer accepting new syntax definitions so I can't add it to core. They have suggested a separate repo for each language (which I have) but I still need a way in WebUI to inject the definition JS.
Originally created by @gkjpettet on GitHub (Dec 11, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7775
# Feature Request
**Is your feature request related to a problem? Please describe.**
I use an LLM to help me code in a little-known programming language called Xojo. Code examples output by the model correctly produce Markdown code fences flagged as `xojo` but the syntax highlighter used by Open WebUI does not support this language natively.
**Describe the solution you'd like**
I have written a language definition for `highlight.js` (which is what I believe Open WebUI uses to highlight code) but I need a way to inject this JS into WebUI so my language will be highlighted.
**Describe alternatives you've considered**
There isn't a good alternative. The `highlight.js` maintainers are no longer accepting new syntax definitions so I can't add it to core. They have suggested a separate repo for each language (which I have) but I still need a way in WebUI to inject the definition JS.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @gkjpettet on GitHub (Dec 11, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/7775
Feature Request
Is your feature request related to a problem? Please describe.
I use an LLM to help me code in a little-known programming language called Xojo. Code examples output by the model correctly produce Markdown code fences flagged as
xojobut the syntax highlighter used by Open WebUI does not support this language natively.Describe the solution you'd like
I have written a language definition for
highlight.js(which is what I believe Open WebUI uses to highlight code) but I need a way to inject this JS into WebUI so my language will be highlighted.Describe alternatives you've considered
There isn't a good alternative. The
highlight.jsmaintainers are no longer accepting new syntax definitions so I can't add it to core. They have suggested a separate repo for each language (which I have) but I still need a way in WebUI to inject the definition JS.