Inserting human-readable code into your TechNet Wiki articles adds a lot of value for the reader, but it can be a challenge for the author. Use this article to share how-to information.

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.

Clicking the Format Code Block button opens the following popup window. But there is no option to select the Small Basic programming language. See Small Basic: How to Format a Code Block.

Other Code Insertion Options

See Also

Another important place to find a huge amount of TechNet Wiki related articles is Wiki: List of Articles for TechNet Wiki

Other Languages

This article is also available in these languages: