add md function to zsh