Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

How can I add a line break in markdown when writing console commands?

So I was posting an answer here: https://teamtreehouse.com/forum/error-message-when-pushing

and I did not come up with a better way to format these commands. It was either like this in three tiny code blocks or as one liner. If this would be html I would ad a <br> but in this case I have no idea.

I hope I am being clear. Thank you.

1 Answer

I found out. The three (```) needs to sit on their own line. I had them on the same line as the first command and behind the last command on the same line. So all three commands were on a single line.

I hope someone else also learned something from this :)