mjbvz / vscode-github-markdown-preview-style

VS Code extension that changes the built-in markdown preview to match Github's styling
https://marketplace.visualstudio.com/items?itemName=bierner.markdown-preview-github-styles
MIT License
303 stars 57 forks source link

The preview truncates consecutive whitespace in code spans #31

Closed callumlocke closed 6 years ago

callumlocke commented 6 years ago

Steps to Reproduce:

  1. Type an inline code span (ie. quoted with single backticks) containing multiple consecutive spaces
  2. Look at VSCode's live Markdown Preview - the spaces are collapsed into one.

This should not happen in code spans.

Screenshot:

image

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

callumlocke commented 6 years ago

oh wow it does it on github itself too, and apparently this is per commonmark-spec. bizarre

https://github.com/mjbvz/vscode-github-markdown-preview-style/issues/31