Formatting Code, General Text, Bold Text

Hello,
Howto formatting Message (Discussion), like Code, Bold Text, Etch? any documentation?

This forum supports html formatting and the markdown syntax.

For example, to highlight the big code sample, you need to enclose it with ~~~

Thank you for your response…,.