Visual Studio Team Services has a Markdown-based project documentation feature in form of a wiki.
However I do not get the code formatting to work.
It looks like this:
but obviously it should look like this:
Is syntax highlighting not supported in Visual Studio Team Services or am I doing something wrong?
Make sure that you have a used the language identifier in Markdown Syntax as csharp does not seem to be recognized by default.
Check this document for Syntax guidance for Markdown files, widgets, wikis, and pull request comments.
Also, you may go through this blog.