more consistent client/server checking for rmarkdown extended type