How to Use the Format Code Block Tool

The TechNet Wiki Editor has a Format Code Block option (). Click it, insert some code, select a language, click Preview to see it, tweak the code, and then click OK. The source code is now formatted and into your article!

To add line numbers on the left side of your code, click the checkbox in the middle, Display Line Numbers.