marp-team / marp-vscode

Marp for VS Code: Create slide deck written in Marp Markdown on VS Code
https://marketplace.visualstudio.com/items?itemName=marp-team.marp-vscode
MIT License
1.58k stars 75 forks source link

Added experimental setting `markdown.marp.strictPathResolutionDuringExport` #367

Closed yhatt closed 2 years ago

yhatt commented 2 years ago

markdown.marp.strictPathResolutionDuringExport enables strict path resolution during export.

If enabled, the export command tries to resolve relative paths from VS Code workspace that a Markdown file belongs. If not, or the Markdown does not belong to any workspace, the export command resolves paths based on the local file system.

It's useful for getting more consistent result between preview and export.

This option is experimental and disabled by default, to avoid breaking exist user's workflow.

Related