popLink extension for VS Code
Many modern publishing platforms build Markdown into HTML for publication on a website. In such a platform, it can be useful to open the rendered web page while editing the Markdown source file.
Poplink converts the file path of the currently opened file into an expected URL and then opens the target page in the default web browser.
For example, say that local paths in your repo that look like this:
...publish out to...
To convert from the local path to the URL, we need to remove everything before the
To configure popLink to handle such a mapping, go into user settings and specify:
Note: The local base path is case sensitive. Ensure that casing in the local path value matches the casing of the actual path. Also note the double backslashes required in the local path.
We recommend binding the
Pro Tip: Use the
Created for the Microsoft Hackathon 2017.