Forum issues vs example code

1- Froum doesn’t allow to post sample code because it things that the lines in the import section are links to external sites
2- Site flags posts as spam, and hides them, if it encounters what it thinks is too many links

So how is one supposed to post code examples to ask questions?