How to display nice code on Medium (Hint: not using Medium)

Medium’s native code display capability is basically hopeless, so here’s what you should do…

Those of you who read my stuff will know that I publish a lot of code. And for a long time I made do with Medium’s native code blocks. But let’s face it — they are awful and the platform really needs to upgrade to be more coder friendly. Writing code in Medium code blocks is frustrating for the writer because there is no decent formatting, alignment or left-right scrolling…

--

--

--

Expert and Author in Applied Mathematics, Data Science, Statistics. Also writes History, Science, Culture. Find me on LinkedIn or Twitter or keithmcnulty.org

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How I Got Started with Web Development in one Week-My Experience at NESA by Makers

Bootstrap 4 custom Layout Builder layouts

Error Monitoring and Crash Reporting 101

immutable and mutable object behaviors

The Quarantine Product Manager Hacks

Using Modern C++ class members and initializations the right way

Kubernetes-jenkins-Docker Integration

Why we all should be more excited about no-code

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Keith McNulty

Keith McNulty

Expert and Author in Applied Mathematics, Data Science, Statistics. Also writes History, Science, Culture. Find me on LinkedIn or Twitter or keithmcnulty.org

More from Medium

Five Tricky Statistics and Probability Riddles That 90% of People Fail

8 Mistakes International Students Make in Graduate School

AI Could Soon Recognize Your Face from Just Your DNA

How Lockdown changed my life