Set md extension