main: display text with markdown