I've used Medium once (twice?) now to write blogs. While I like the ecosystem that they have created, (and the typeface they use is wonderful!) I find the tools they have for development-geared blogs to be a little lacking.
I'm used to be able to write the markup in my articles using LaTeX or Markdown. In Medium, you need some weird key combination to create a code block. I've also encountered the issue that @OvermindDL1 mentions myself.
The next time I'm writing a blog, I think I'll use some Markdown postprocessor like Jekyll (or maybe I'll roll my own).
I think Medium is a great tool for people outside of the tech-community, but it would be great if they added some functionality that made it easier to add code snippets and text formatting.