tizzick
tizzick

Reputation: 5532

How to markdown multiline code blocks in VS Team Services

How can I write multi line code blocks in in VS team Services that maintains the new lines. For instance I have two lines of code like this.

line one
line two

But no matter what I try the result always renders in one line like this.

line one line two

I have tried following the guide lines here.

I have tried before and after back quotes

```
line one
line two
```

four leading spaces

    line one
    line two

Leading & trailing empty lines, triple back quotes on every line, wrapping every line in back quotes, and several other options but the result is not what I want. Is there some trick to multi line markdown block quotes in VS Team Services to make this work?

Upvotes: 2

Views: 3929

Answers (1)

starian chen-MSFT
starian chen-MSFT

Reputation: 33708

The same content/code works fine in dashboard and file explorer (Code > Files > Select README.MD) pages, but doesn’t work fine for project page. I submit a feedback here: VSTS Markdown in project page multiple line of code issue, you can follow it.

Upvotes: 1

Related Questions