iamcco / markdown-preview.nvim

markdown preview plugin for (neo)vim
MIT License
6.67k stars 277 forks source link

Support For Firefox Started With Profile Option (firefox -P) #639

Open lomaharshana opened 8 months ago

lomaharshana commented 8 months ago

I tried running Markdown Preview with Firefox instance started with -P option (a browser instance more customized with custom CSS for such reviews). But the plugin keeps opening a new Firefox, ignoring the existing instance opened with -P option. Using a customized browser view will greatly improve the usability of this fabulous plugin. Thank you!

kunring commented 7 months ago

Adding support for automatically doing this would mean that the launcher has to choose which firefox profile to use out of many options, which wouldn't really make sense. The existing config has support for defining a custom function to use for launching, which you could use to launch Firefox with your arguments. See the FAQ in README.