Editing markdown outside of Ghost

Posted on February 9, 2015

We use for our blog and we’re happy enough with it overall. It (intentionally) doesn’t do much and we don’t need much - a perfect match.

One thing that doesn’t work ideally for me is that I prefer to write posts on my own machine using my preferred text editor (I also prefer restructured text as a format)

Converting from rst to markdown is simple enough with pandoc but the part that always trips me up is that ghost converts every newline character inside of a paragaph to a <br> which is not what I expect.

As a reminder for future me, here’s the full command to convert from rst to markdown

pandoc -t markdown -f rst -o blog-post.markdown --no-wrap blog-post.rst