Integrating Sublime Text and Marked 2

I had a hard time getting Sublime Text to work with Marked 2, back when I used Brett’s app to proof my writing. Dan Sturm posted a simple snippet that launched it using a build system, that failed if Marked came from the App Store. Here’s the fix:

{ > "shell_cmd": "open -a \"/Applications/Marked 2.app\" \"$file\"" }

Click the “Tools” toolbar menu, scroll down to “Build System”, and click “New Build System...”. Copy and paste the snippet above, then save the file. If you have “Build System” set to “Automatic”, Sublime Text will now open any file without a specific build system in Marked.

Permalink.