You could have created a code block that preserves indentation.
[three backquotes][name of the language]
it's very cool. thanks Manav, I will try
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.