How to put portions of code in a posting. RRS feed

  • Question

  • If I paste in code directly from VS, there are HUGE gaps between each line. Very ugly and harder to read. How can I paste in code that looks right?

    What forum do I go to for that?


    Jon Jacobs This message was composed entirely from recycled electrons.
    Monday, February 14, 2011 11:36 PM


  • You can use the "insert code block" button(after the HTML) available in the editor toolbar.

    This will bring up a pop up window. Make sure your browser is not blocking this pop up.

    Paste the code in this window and select the language (C#, VB, Sql etc)



    [MVP Visual C#]
    Dot Net Goodies
    Don't hate the hacker, hate the code
    • Marked as answer by Jon Q Jacobs Tuesday, February 15, 2011 1:29 PM
    Tuesday, February 15, 2011 6:40 AM