Indent Code and Lists by 4 Spaces in Emacs Markdown Mode

I noticed that my Emacs didn't maintain the current line's indentation when editing code blocks in Markdown (markdown-mode). I indent the first line with 4 spaces like any sane person would. When I hit enter to continue in the next line, thanks to the markdown-mode defaults, I am presented with a new line that's properly indented visually. Only when committing to git did I notice that Emacs inserted tabs instead of spaces. Gasp!

Continue reading …

Exposing the MultiMarkdown 6 Library to Swift, Part 1: Swifty Enums

During the time between Christmas and New Year, which we tend to call the time "between the years" where I live in Germany, I wanted to do something fun, but not too fun so I don't get spoiled. That's how I turned up experimenting to use libMultiMarkdown from within a Swift app. The amount of fun I have when reading and writing C code is negligible, which made it a perfect fit.

Continue reading …

Multi-Markup Notational Velocity

Teaser image

I integrated recent changes to Zachary Schneirov's original NV into my code base. Most issues you were reporting should be solved just by that baby step. The other new and cool stuff is: I'm constantly trying to decouple the code Zachary ("scrod") wrote. It works fine as-is, but it's not easy to change and add features while keeping up to date with Zachary's code. Merging everything every now and then is a little risky. I want my code to be an easy addition, ideally not touching anything from the original. That is just plain impossible, but thinking about it should indeed help me improve my code in many ways. I still can't grasp how easy it is to do all these small changes. Incredible!

Continue reading …

Introducing MultiMarkdown Notational Velocity

Teaser image

Theres a new Notational Velocity fork available on the interwebs. What makes it unique? So far, it's the MultiMarkdown support–and you can choose if you want MultiMarkdown included in a bundle with Notational Velocity or rather a Notational Velocity binary which supports your local setup, assumed to reside at ~/Library/Application Support/MultiMarkdown/.

Continue reading …