added format and coloring for posts and editing posts