change extensions to md instead of md