added idiomatic md->html entry function