Hi @dimitar_vasilev,
For code formatting you need to surround your blocks with triple backticks (```) similar to GitHub. You can optionally specify a language to use, but the default language detection is usually fine.
For more tips see: Formatting code and log snippets in posts.
Regards,
Stennie