convert text to HTML with controlling options
