refactored the markdown rendering to a post class method in conjunction ...

...with a private class method