In discussion at the Perth meeting, a member complained that MS Teams messages have a code feature, but Delphi or Pascal do not appear as one of the language options.
But there was an option for Github (Markdown), so it succeeded to start the code text with : ` ` ` pascal (no spaces) and get the right syntax highlighting.
Hmm, I wonder who the team lead is for that feature at MS. It would be nice to ask them to support Pascal - unless they do genuinely believe more people type verilog messages than Pascal…