Adds preview post functionality using showdown