format: unify md text struct