Formatting tags ([xxx]) could be converted to HTML.
Instead of converting markups to HTML, one could highlight them. Tags that have errors could have a different style.