unified support for code and pre in both markups