Setting up MarkText as external editor

I am using joplin 1.0.197. I was using sublime text as my external editor till now and wanted to try more dedicated MD editor like MarkText. For the same I have put the following line in my text editor command:

/Applications/Mark\ Text.app/Contents/MacOS/Mark\ Text

However, whenever I click on Edit in external editor button, nothing happens. Console gives following exception:

Uncaught (in promise) Error: spawn /Applications/Mark\ Text.app/Contents/MacOS/Mark\ Text  ENOENT

Command was: "/Applications/Mark\ Text.app/Contents/MacOS/Mark\ Text " /Users/user/.config/joplin-desktop/edit-cb4effaa7abb41b8a3c92ff2d54915ff.md
    at Process.ChildProcess._handle.onexit (internal/child_process.js:264)
    at onErrorNT (internal/child_process.js:456)
    at processTicksAndRejections (internal/process/task_queues.js:77)

Also, If manually try and open the md document as :

/Applications/Mark\ Text.app/Contents/MacOS/Mark\ Text /Users/user/.config/joplin-desktop/edit-cb4effaa7abb41b8a3c92ff2d54915ff.md

formatting is all messed up. Copy pasting from marktext to joplin works fine though.

So, has anyone successfully got Mark Text to successfully gel with joplin?
OS: Mac 10.11