It would be nice to have QML syntax highlighting in code snippets. Apparently the list can be edited “here”: Configure which programming languages are available for syntax highlighting - admins - Discourse Meta
The list of languages can be found here:
https://highlightjs.readthedocs.io/en/latest/supported-languages.html
Test {
id: "test"
}
would be most important but there is also rpm
available.
The syntax highlighting can then be specified like this (or it will try to guess)
``` qml
Edit: it seems one needs to “touch” old posts once to retrospectively enable the formatting