Did anybody know how to open the created pdf directly in a seperated browser tab? I don't want to change the global configuration for all internal links.
You can set the target on media link. https://www.dokuwiki.org/config:target
To test it, I set all five to _tab. Unfortunately, it had no effect on my behaviour. I tested with Chrome and Firefox.
It should be blank.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a
gerardnico blank
_blank Preceded by an underscore
It looks like it's the Chrome browser. Any ideas how to force it on Chrome as well?
sohamakl It looks like it's the Chrome browser.
Did you try using another browser? Did you actually specify '_blank' for https://www.dokuwiki.org/config:target , that is an underscore followed by the word 'blank', presumably in lower case (I haven't tested that) ?
It's supported on chrome.
https://caniuse.com/mdn-html_elements_a_target
This is an really old feature.
Was working on fetch file and I can see that there is a configuration that could force the download of file if there is a ! before the mime type
!
This mime configuration for instance
pdf !application/pdf
would download the PDF
This one will not
pdf application/pdf
This is the DL variable on this line. DL for download.
DL