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

Upload directory doesn't match markdown #63

Open squintz opened 2 years ago

squintz commented 2 years ago

I have ${projectRoot}/_posts/assets in my settings. However when I click the upload button is put in the markdown. The image is displayed in the WYSIWYG but the link is broke when I deploy to github because the path doesn't include _post. If I manually add _posts which is the directory the the image ultimately get uploaded to then the WYSIWYG preview disappears.