zaaack / vscode-markdown-editor

A vscode extension to make your vscode become a full-featured WYSIWYG markdown editor
https://marketplace.visualstudio.com/items?itemName=zaaack.markdown-editor
MIT License
367 stars 51 forks source link

Root directory and file extensions #51

Open lukaszpolowczyk opened 2 years ago

lukaszpolowczyk commented 2 years ago

In VSCode's built-in preview, each of these links works properly:

[Cybernetics1](/Cybernetics.md)

[Cybernetics2](Cybernetics.md)

[Cybernetics3](/Cybernetics)

[Cybernetics4](Cybernetics)

In vscode-markdown-editor only Cybernetics2 works.

I care most about the Cybernetics3 option, because that's what the working URLs look like, in wiki.js, which I use. For that, Cybernetics1/2/4 is incorrect in wiki.js.

For images it is the same, but the URL must always have a file extension.

It would be good for vscode-markdown-editor to handle every case, just like the built-in VSCode preview. Then my problem will be solved with redundancy. :)

Additionally: The URL should open in your editor, not in the regular VSCode text editor.