fregante / GhostText

👻 Use your text editor to write in your browser. Everything you type in the editor will be instantly updated in the browser (and vice versa).
https://GhostText.fregante.com
MIT License
3.25k stars 116 forks source link

Change file extension? #242

Closed robertmarkbram closed 1 year ago

robertmarkbram commented 1 year ago

Setup

Browser: Chrome Editor: VS-Code

Description

This opens up a .tmp file: any way to change the file extension? E.g. md for markdown so that I can get markdown features in VS Code?

robertmarkbram commented 1 year ago

At least for VS Code, I can easily change the "language mode" for a file and treat the temporary file as markdown. So I can do this already.

fregante commented 1 year ago

The VS Code extension is third party. You'll have to open an issue in its repo

fregante commented 1 year ago

@robertmarkbram I just published a first-party GhostText extension that defaults to .md

You can download it here https://marketplace.visualstudio.com/items?itemName=fregante.ghost-text

Remember to remove the previous one to avoid conflicts