refactor and test mrkdwn.markup.codes