add rst/md underline macros