Theming would be made using Sass, since the Monaco documentation provided a non-working solution using JS/TS.
However, Monaco Editor does not support Cairo.
For now, I think the quickest solution would be to parse each exercice and add classes to get the syntax theme working for Cairo (assign classes to keywords basically)
The long-term solution would be to actually implement a custom language support for Cairo as the following deprecated npm package : monaco-language-cairo but since it would take some time I think it is not an urgent matter rn because we have a quicker work-around.
Parent issue : #224
Theming would be made using Sass, since the Monaco documentation provided a non-working solution using JS/TS.
However, Monaco Editor does not support Cairo. For now, I think the quickest solution would be to parse each exercice and add classes to get the syntax theme working for Cairo (assign classes to keywords basically) The long-term solution would be to actually implement a custom language support for Cairo as the following deprecated npm package : monaco-language-cairo but since it would take some time I think it is not an urgent matter rn because we have a quicker work-around.