[doc] fix formating helpers