Open PDF in default app at specific page (= pass CLI command to URI)?


I have a PDF reader that accepts a --page i option in command line (where i is a page number) : Is there any way to pass that option to my PDF reader when using Obsidian’s Open with default app ?


It would be great if URI supported such links :


Where instead of commandName we could write /A page=3 or --page=3 (different PDF readers have different CLI arguments to open at specific page). Obsidian would just have to pass that argument to the console.

Thanks !


This plugin GitHub - phibr0/obsidian-open-with can do it