How to post a snippets in Question

I want to post a snippet in Question and Help, what should I do?

Do I just paste and paste the code?

Do I post it as Preformatted text?

Thanks again for all you do.

You can add a snippet to your community post by clicking on the gear icon and then "Snippet". Copy the content of your snippet from the dashboard and paste it in the community post.

@Dan_Barak1

Thanks. I understand.

{reply="thank you"}
{=reply}