Could you explain without refers to spec, what effect you like to get with those transformations in renderer? Make copy-paste from html source work? If yes, is it really needed?
Sorry, which transformations do you have in mind?
I’m not against defining normalization in the spec – but how complicated is this going to get? What you’re doing is using an external library. Do we really want to make explicit all of the logic it uses in the CommonMark spec?