Open przemech opened 2 years ago
This will work only with absolute filepath links:
file:///<absolute_path>/<filename>.pdf#<named_destination>
When using a relative path in the vscode, the path is resolved and the #<named_destination>
is trimmed, so it gets lost before it reaches extension's code. Anyway, such link will not work on a GitHub repo, so proposed change is just a minor feature.
Yes - we need this. I use similar command line calls to open pdf in browsers. What would the VS code syntax on the command line look like ?
This adds support for named destinations described here:
https://github.com/mozilla/pdf.js/issues/5258#issuecomment-54633345
This also solves following issues:
129
108