Command listings in documentation

I write a fair amount of documentation for systems administration and other tech stuff and have for years now—I suppose my entire professional life (go me!). I’m very interested in tools that don’t get in my way when I’ve got a flow going, and I find a text editor with basic markup or formatting codes is the way to go. In the last semi-long while—probably five years?—I’ve pretty much settled on Markdown or whatever variants the tool I’m using implements.