Neither help nor forum told me the simplest way to insert a code sample. I needed to insert a sample of VB.NET code to preserve its formatting and highlighting. I found only this explanation http://kungfuwit.wordpress.com/2009/05/ ... o-a-topic/. Please review my steps of inserting the code and teach how to make this efficiently.
How to insert code sample:
- Select the code and press Ctrl+C to copy it to the clipboard.
- In a required place in your topic where you need to insert the code, place your cursor, click the Styles control on the Home ribbon and select the pre tag. The pre tag appears where you placed the cursor, and everything inserted here will be formatted with the selected tag.
- Press Ctrl+V. See the code inserted with the Paste icon under it. The icon has the arrow on the right which opens the paste options.
- Click the arrow and select Paste inline text from the list. Now you can see the code inserted into one pre tag.