Added some more markdown formatting logic. setText should call syntax storage update.