format_string function

Format a string text as markdown/HTML