For technical blogging, IMHO, the absolutely essential requirements are good support for math notation and code snippets (with nice syntax highlighting). So I am constantly surprised why technical bloggers write on medium, which supports neither.
I've also moved over to a self-hosted solution, but when using Medium previously, I just embedded GitHub gists for code blocks. Looks nice, has good syntax highlights, can get the raw gist, etc. Not ideal, but not terrible.
I wonder why they haven't implemented this after so many years. It can't be much more difficult than integrating highlight.js and MathJax, and it's lost them at least one big publication (Hackernoon)