Macdown as external editor on CLI?

Did you try setting just /Applications/MacDown.app/Contents/MacOS/MacDown? (without the open -a) The comment about Typora applied to the desktop version but the CLI works a bit differently.