Resolution: Won't Fix
Severity 3 - Minor
The syntax highlighting does not work while viewing the Clojure file.
It works perfectly fine when editing but when viewing the file the syntax highlighting does not work.
- Create a sample clojure(.clj) file.
- View the file in the repository source.
- We see that the syntax highlighting is not working.
Syntax highlighting should work while viewing the file. Currently, it works only while editing the file.
Syntax highlighting does not work while viewing Clojure files
I understand that Bitbucket Cloud UI uses Monaco editor for viewing files and CodeMirror editor for editing the files.
Even though the Monaco editor supports Clojure syntax, Bitbucket UI does not support it.
Monaco editor: https://microsoft.github.io/monaco-editor/.
Currently, there is no known workaround for this behavior. A workaround will be added here when available