Add custom code snippet to monaco editor

Screenshot_20230628-010250

How can I add code snippets like this to my own micro:bit makecode package?

what is monaco editor?

Based on the pxt-microbit source, I thought I should look here, but I’m not sure.