hediet / browser-ext-github-monaco

This extension brings the famous Monaco editor to Github
https://chrome.google.com/webstore/detail/monaco-markdown-editor-fo/mmpbdjdnmhgkpligeniippcgfmkgkpnf?hl=de&authuser=0
257 stars 32 forks source link

Support other websites #46

Closed vjpr closed 1 year ago

vjpr commented 1 year ago

Would be nice to have on all stackexchange sites like stackoverflow.com.

fregante commented 1 year ago

Note for the maintainer: the setup described here would technically allow users to enable the extension on any website:

However of course you'd need to support/select their textareas as well, so it's not as straightforward.

hediet commented 1 year ago

I think this extension should be forked for supporting other sites, as it has a bunch of github specific logic (e.g. mentions and preview) like this:

https://github.com/hediet/browser-ext-github-monaco/blob/f49c3e4825186d5645b251725465cef419ff8393/src/content-script-main/EditorWrapper.ts#L259-L283