Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markdown Preview not handling a specific kind of line break #72846

Closed
skprabhanjan opened this issue Apr 25, 2019 · 1 comment
Closed

Markdown Preview not handling a specific kind of line break #72846

skprabhanjan opened this issue Apr 25, 2019 · 1 comment
Assignees
Labels
*as-designed Described behavior is as designed markdown Markdown support issues

Comments

@skprabhanjan
Copy link
Contributor

@mjbvz , While i was creating a test file for checking #72671, I found that line breaks are not added in the preview for the kind of file I created.
Just for your info , this is how I created using terminal

for ((i=1;i<=10;i++));                                                                                                                                             
do
   echo "Hello World $i" >> testSmallMdfile.md
done

Please confirm if we have to take care of this ? ( I can fix this if you can guide me :) )

Attaching screenshot for further reference.

Screen Shot 2019-04-25 at 12 57 00 PM

Does this issue occur when all extensions are disabled?: Yes

@vscodebot vscodebot bot added the markdown Markdown support issues label Apr 25, 2019
@mjbvz
Copy link
Collaborator

mjbvz commented Apr 25, 2019

This is how markdown handles line breaks. To separate lines, you either need a double line break or end the line with two spaces:

for ((i=1;i<=10;i++));
do
echo "Hello World $i " >> testSmallMdfile.md
done

@mjbvz mjbvz closed this as completed Apr 25, 2019
@mjbvz mjbvz added the *as-designed Described behavior is as designed label Apr 25, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*as-designed Described behavior is as designed markdown Markdown support issues
Projects
None yet
Development

No branches or pull requests

2 participants