When right-clicking on a link to a local PDF file (e.g. the line in a markdown file shown below), it is opened as a text file. How can this behavior be modified such that an external viewer (xpdf, evince) is launched?
[@samplefile](../bibliography/samplefile.pdf)
With tasks and the field below, I manage to define a new entry, which opens the viewer, but not the file:
"command": "xpdf ${FOLDER_NAME:file}",
Edit: arguments can be explicitly given in a different field, like
"command": "xpdf",
"args": [
"-fullscreen",
"../bibliography/${selectedText}.pdf"
],