added bottomscript for markdown parser when creating or editing a post