Ahh yes, its preferred output format generally chooses Markdown over plain text. So it will use the markdown for a code block which of course is:
```some-language
// some code
```
Glad you managed to resolve it.
In case you are unaware, you can use console.log() in your code and have it output the results. See my reply here for an example.
Kind regards,