custom markup code support in text view