Reputation: 2823
(English is not my native language)
Hello. I want to preview quickly the html documents edited in Sublime Text 3. I found a plugin View in browser, but this plugin support only Firefox, Internet Explorer, Chrome and Safari. My browser is Pale Moon, the file of start is in the Windows folder D:\Pale Moon\palemoon.exe
. May I quickly preview html documents in my browser? Thanks.
Upvotes: 0
Views: 286
Reputation: 11807
Pale Moon can be launched with a command-line argument telling it where to go:
"D:\Pale Moon\palemoon.exe" "stackoverflow.com"
This means that we can use a Sublime Text build system to open the current file in Pale Moon. Go to Tools > Build System > New Build System... and then enter this into new document:
{
"shell_cmd": "\"D:/Pale Moon/palemoon.exe\" \"$file\""
}
Save that into C:\Users\You\AppData\Roaming\Sublime Text 3\Packages\User
(it'll probably default to this location) as Preview in Pale Moon.sublime-build
. Now, in your HTML document, go to Tools > Build System > Preview in Pale Moon.
Now, whenever you want to open Pale Moon to your current Sublime Text document, press Ctrl + B.
Upvotes: 2