start of markup handling (<!>, <@>, <#>, <link>)