Code folding in other languages specifically Julia

Is there anyway to get code folding for any other languages other than python?
Jupyterlab will code fold in notebook cells and text editor for python.
But I haven’t been able to get it to work for Julia although it recognizes the Julia syntax.

The default Julia syntax highlighting mode for CodeMirror 6 is rather limited. In another issue (JupyterLab 4 regression: Missing parenthesis when displaying markdown code blocks · Issue #16112 · jupyterlab/jupyterlab · GitHub) I mentioned that we could explore using GitHub - JuliaPluto/lang-julia: Julia language support for the CodeMirror code editor instead as it seems a bit better. It is worth checking if it supports code folding, and whether we could contribute it back.

1 Like

Got it. Is there anyway to just enable code folding via indentation recognition? I feel like that would be the easiest way for languages other than python key word recognition