Skip to content

Wrong Markdown preview format for files in UNC path #87180

Closed

Description

  • VSCode Version: Code 1.41.0 (9579eda, 2019-12-11T18:37:42.077Z)
  • OS Version: Windows_NT x64 10.0.18363

Steps to Reproduce:

  1. Create a Markdown file on a network shared folder (ex.: \\storage01\MyFiles\test.md).
  2. Map that network shared folder to a drive letter in Windows (ex.: Y:).
  3. Open the Markdown file in VS Code using the mapped drive letter (ex.: Y:\test.md) and open its Side-by-Side Preview (Ctrl + K, V).
    • The preview should be correctly formatted.
  4. Open the same Markdown file in VS Code, but using the file's UNC path (ex.: \\storage01\MyFiles\test.md) and open its Side-by-Side Preview.
    • The preview is incorrectly formatted.

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

Correct format (file opened through mapped drive letter):
image

Wrong format (file opened through UNC path):
image

Activity

  1. added
    markdown-ext
    on Dec 17, 2019
  2. added
    help wanted
    windows
    on Dec 17, 2019
  3. added this to the Backlog milestone on Dec 17, 2019
  4. BuraChuhadar commented on Dec 21, 2019

    @BuraChuhadar
    Contributor

    I would like to work on this if possible.

  5. BuraChuhadar commented on Dec 21, 2019

    @BuraChuhadar
    Contributor

    There was a typo in the code was causing this. I have tested on Windows 10 with a file on a UNC path with the fix above and it is working fine.

  6. added
    bug
    and removed
    help wanted
    on Dec 21, 2019
  7. locked and limited conversation to collaborators on Feb 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugmarkdown-extwindows

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions