Hello S.,
Here is pseudo-similar request:
Also see some issues here:
And for Unicode workaround, see also here (as for semi-colon, or bracket)
And other issue about <code> here:
Just to centralize all the requests on the same topics,Regards,Th.
(--------)
After some attempts...A possible workaround is to use sub-diagram (with `{{` and `}}`), title and code, as:
@startmindmap * r ** a **: {{ title <code> main() { foo(); } </code> end title }} ; @endmindmap
If that can help,Regards,Th.