Use the Atom editor to write in your browser. Everything you type in the editor will be instantly updated in the browser (and vice versa).
More information on the main repo
Use Atom's command-line package manager:
apm i GhostText/GhostText-for-Atom
(Required because the package is not listed on atom.io)