Responsive code formatting on web
06-Feb-2026 326
Responsive Web Design was a hot topic over a decade ago. I'm old enough to remember Nicolas Barrera delivering a talk about it on wroclove.rb. It now feels strange not to design interfaces mobile-first, which is the primary screen for consuming content. And yet, when browsing code samples published online, more often than not we're left with with horizontal scrolls. Or worse, the hidden overflows.
Perhaps programmers prefer consuming programming content on bigger screens. That's me. I read posts with code samples frequently. I'm somewhat active blogger too. Preparing code snippets for publication takes some effort, even for bigger screens. Whether its breaking long lines to make syntactic sense manually or an automated run of code formatter, it is additional work.
Responsive code formatting on web #ruby #rubydeveloper #rubyonrails #Responsive #formatting #code #web https://www.rubyonrails.ba/link/responsive-code-formatting-on-web