oknozor / illumination

A mardown renderer for nvim written with gtkrs and neovim-lib
GNU General Public License v3.0
84 stars 6 forks source link

Links should opened in external browser #19

Open lucas-dclrcq opened 4 years ago

lucas-dclrcq commented 4 years ago

When viewing a markdown file with a link and clicking on that link, the page opens in the illumination window.

Wouldn't it be better to open the page in the default browser ?

oknozor commented 4 years ago

I am not shure if this is possible : markdown is converted to html and rendered by webkit. The only way I see would be to open xdg-default-browser from the web page by replacing every href with a custom script. I highly doubt that webkit (or any web browser) would allow something like this.

Prove me wrong!