Code Render Bug with Copied Code from Xcode

Paul Solt's Avatar

Paul Solt

11 Oct, 2017 05:41 PM

The code block in the attached .md file has spaces or tabs and renders the blank lines with a hidden character, instead of nothing.

I don't have special characters enabled.

I copied this code from Xcode 9.

Expected:
1. Code block should display without special characters
Actual:
1. Code block appears with some newline special characters visible on blank code lines

  1. Support Staff 1 Posted by Fletcher on 12 Oct, 2017 02:36 PM

    Fletcher's Avatar

    Your text has space-space-newline in each of those lines, which is displayed as a line break character to serve as a reminder that it is not "just" a newline, but a linebreak. It doesn't cause an effective difference inside a code block, but does outside of them.

  2. Fletcher closed this discussion on 12 Oct, 2017 02:36 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac