How to Insert a Formatted Code Snippet and Code Block on TechNet Wiki

Today's featured Wiki article is on:

Wiki: How to Insert a Formatted Code Snippet and Code Block on TechNet Wiki

This article originally comes from the ducky mind of Tony Soper:

tonysoper_MSFT's avatar

 

I recently made some changes to the article, including building out this section:

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.

 

So again, please go check out all the resources in this article here:

Wiki: How to Insert a Formatted Code Snippet and Code Block on TechNet Wiki

  

If it's TechNet Wiki, then boy is it sticky.

    - User Ed