This is a simple TextMate command that allows you to preview the current document you're editing right on Marked editor.
- Go to
Bundles
→Bundle Editor
→Show Bundle Editor
(or simply⌃⌥⌘B
): - Locate the
Markdown
bundle then click on it: - On the bottom of the window you'll find a plus icon. Click on it then select
New Command
: - Name it as "Preview on Marked", and make its shortcut
⌘R
: - Now you just need to paste the script below to the command input.
* To test it out, you can create a `.md` file, save it then hit `⌘R`. If you have everything set, Marked will open with the preview of your file. If you don't have it installed, it'll prompt an error with the link for the download:

Happy editing!
Didn't knew that. As you said, all you need to get it working is to edit the application path (
MARKED_APP
variable) and voilá.