Converts markdown to ansi