fix forum post can't render code
move style format to formatter