none
What happened to the code block? RRS feed

  • Question

  • In the old version of these forums you could indicate whether your post includes code or not, but now it seems to format it just like any other text, or am I missing a feature?
    Friday, September 11, 2009 1:09 PM

Answers

  • You can declare your post has code by using the "insert code block" feature in the editor. The insert code block editor feature initially posts the code locally as unformatted, but after you submit it to the server it will be color coded etc to all users. Dressing up the code etc on the client (what the user who posts sees) before it is posted to the server is something we'll look at in the future.


    Community Forums Program Manager
    • Marked as answer by TheLearner Monday, September 14, 2009 8:21 AM
    Friday, September 11, 2009 4:13 PM

All replies

  • You can declare your post has code by using the "insert code block" feature in the editor. The insert code block editor feature initially posts the code locally as unformatted, but after you submit it to the server it will be color coded etc to all users. Dressing up the code etc on the client (what the user who posts sees) before it is posted to the server is something we'll look at in the future.


    Community Forums Program Manager
    • Marked as answer by TheLearner Monday, September 14, 2009 8:21 AM
    Friday, September 11, 2009 4:13 PM
  • Insert Code Block looks like </> on the toolbar.  You're not the only one that missed that, it's what code looks like to an ASP.NET programmer.  The HTML label to the left of it is not a label, it is a button.  Try clicking it.

    Hans Passant.
    Saturday, September 12, 2009 8:27 PM