Pretty printing markdown source

In the past year or so I've fully transitioned to editing my prose like code. I've been using markdown for a while now, but my transition to semantic linefeeds, using one sentence per line, has been great. It makes editing paragraphs and viewing changes so much easier. I use NaturallySpeaking with Word—[configured] as a simple text editor—but I also use text editors, which rarely have a print function. So here is a gist that pretty prints markdown source with line numbers and minimal formatting. That makes it easy to print out and edit. When I'm back in front of the computer, I need not search for that annoying comma splice, for example, I know exactly what line it is on.

Comments !