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.32k stars 115 forks source link

Finalize syntax-by-extension support #65

Closed fregante closed 1 year ago

fregante commented 8 years ago

Related: https://github.com/Cacodaimon/GhostText-for-Chrome/issues/3 https://github.com/Cacodaimon/GhostText-for-Chrome/issues/25

subnut commented 3 years ago

Ping! for updates...

fregante commented 3 years ago

Most of the new features will likely only be added via PR by others. I’d rather focus on stability

fregante commented 1 year ago

Unfortunately I don’t think this is ever practical. Any domain can contain any syntax. GitHub is not only markdown. WordPress is not only HTML. Etc. Any work would still be guesswork and just introduce issues.

I added a mention to send the full URL on https://github.com/fregante/GhostText/issues/255, so maybe the editor extension can implement format may as best as it can, like by adding a url regex -> syntax matcher that the user will configure.

Nowadays editors could automatically detect the syntax anyway