make autolink singleton classes, and fix markdown test after cleanup