Add markdown for posts and general code cleanup