Closed fregante closed 1 year ago
Ping! for updates...
Most of the new features will likely only be added via PR by others. I’d rather focus on stability
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
get_syntax_by_host()
to the Browser side, it should just send the extension, if any is found, otherwise ST should just use its defaultRelated: https://github.com/Cacodaimon/GhostText-for-Chrome/issues/3 https://github.com/Cacodaimon/GhostText-for-Chrome/issues/25