https://github.com/logseq/logseq/blob/a55b73f29677e9e5f925fa9a1071b370957b4840/src/main/frontend/handler/code.cljs#L11-L16
if I paste this in discourse, you can see it’s being embedded:
wish we have this inside Logseq itself as well, possibly through /Embed github