support markdown attributes

closes issue #23