Skip to content

My also-ran Markdown Editor for OS X

Quite often I feel the need to learn something new for the sake of learning something new. Covey aficionados would know this as sharpening the saw.

I usually struggle deciding upon something however as there are so many areas to choose from in the software world and it isn’t everyday I feel drawn enough to something to put time and effort into it on top of holding down a day job.

Five years ago it was Rails, two years ago it was testing that I wanted to improve my skills with and I’m now waiting on whatever will be the next major piece of technology or practice I feel I need to push myself towards.

Before the web

When I started out teaching myself to write code I didn’t have access to the Internet and the web as we know it didn’t exist. My output was to evolve from simple CLI programs to games to desktop apps.

These past years a lot of my work life has involved developing web software with scripting languages. Compilers, graphics routines and assembly language have all started to become lost in the mists of time.

Returning to desktop software development seemed like both an interesting challenge and a break from dealing with the web. As I’ve little interest in cross-platform toolkits this meant Objective-C and Cocoa, technologies which I pick up every once in a while but haven’t produced much with. But what exactly to develop?

Eating my own dog food

In May I was working on-site with a client in Dublin and had to produce some documentation for the analytics platform I was building at the time. As usual I chose Markdown and put up with the workflow of editing the content in Vi and running it through the supplied Perl script to see what the HTML, which was eventually to handed over to the client, looked like.

It struck me that here was repeated effort I could automate with software and there didn’t appear to be a widespread, simple Markdown editor for OS X. An opportunity at last to start work on a first offering from my software company I thought.

The possible beginnings of a product-based business

Over the course of a few months I added a bit of code here and an interface tweak there, mostly while staying in hotel rooms in Dublin. Any time I wanted to edit some Markdown I used the app and it suited my purposes fine.

I toyed with the idea of publishing what I had on the Mac App Store. I shared the binary with a couple of people to see what they made of it and was extremely pleased when one asked if it was ok to pass the app on. I could see a possible path opening before me allowing me to start stepping away from a consultancy business model to one centred on selling products.

Beaten to it

Life moved on though, I started a new contract which gave me a lot of new technology to play with and development of this side project was put on hold.

About a month ago I spotted Mou. Not only was it more complete than my effort but it was better designed than I could hope for considering the limitations on my time and Cocoa experience. “Fair play” I thought, I wasn’t quick or decisive enough and as a result, if I’m to build this planned business it will have to be on the back of a different product.

Today I spotted Marked and a quick search turns up a number of other apps and text-editor plugins. Such is life.

Open source

As of today it’s been over 3 months since the last commit to the repo and many superior alternatives exist so I thought I may as well give it away.

The app suits my needs though it would be even better if it could saving/load files from the local filesystem. I may well tinker with it for my own learning purposes but who knows what side-project my interests will wander to next.

The code is available on Github and compiles with Xcode 4.1. Enjoy.

{ 4 } Comments

  1. Pete Hawkins | November 1, 2011 at 9:03 am | Permalink

    Built it on my machine, I do like the way you can instantly see the html output, some of the other editors aren’t bad, but there are better options out there compared to the markdown only editors, for example if you are like me and use espresso for your text editor, with v2 released recently, it supports markdown syntax built in.
    Another app I use for writing blog posts and documentation is byword, which has a very minimal user interface to help you focus on the content, works quite well.
    Though I still think you where on to something showing the output hand in hand with the markdown. Few more features like save, export html and some UI design and I recon you would be onto something.
    I’m just hoping someone doesn’t go off and make a web app for storing ftp and server details for teams before I get mine launched :)

  2. steve | November 1, 2011 at 9:43 am | Permalink

    I may still add a few features Pete but the main use case was for helping put together README files and it does that fairly well :D

    I didn’t know you’d started work on that app, I had a similar idea myself ages ago but it never went beyond an idea!

  3. David W | November 1, 2011 at 11:51 am | Permalink

    Sad panda. :(

    As you say it’s never wasted effort, because now you know a good chunk of Cocoa and ObjC. :P

  4. steve | November 1, 2011 at 3:16 pm | Permalink

    Aye, there’s no such thing as bad experience DeeDub :)

    Every time I step back into Cocoa is like the first time all over though!

Post a Comment

Your email is never published nor shared. Required fields are marked *