One nice feature of TT (https://talk.tiddlywiki.org) is it has syntax highlighting and it knows code blocks!
I can simply copy codes by using the handy button top right of code block and paste in my Tiddlywiki!
For example see https://talk.tiddlywiki.org/t/tw5-list-sort-by-count-field-operator/366/7
Thank you TT! You made life easier!