shime / livedown

Live Markdown previews for your favorite editor.
MIT License
765 stars 45 forks source link

Adding an option to open the preview in a new browser instance #3

Closed Edmeral closed 9 years ago

Edmeral commented 9 years ago

When previewing a markdown file, and if a browser instance is already open, a new tab gets attached to it, it would be nice to have the option to open the preview in a new browser instance.

shime commented 9 years ago

We're relying on xdg-open for this, and it doesn't support it. Would adding an option for passing the browser opening command help you?

shime commented 9 years ago

I guess it would, since that is the title of this issue :grinning:

Edmeral commented 9 years ago

Yes absolutely, something like this creates the intended result in Chrome google-chrome-stable --new-window example.com so having the ability to set custom commands would be awesome :+1:

Edmeral commented 9 years ago

@shime Nice! would you mind updating it on npm?

shime commented 9 years ago

@Edmeral bumped the version. Sorry it took me this long, wanted to fix other issues first.