Sublime Text Build for MultiMarkdown

I added some variants to Brett Terpstra’s Marked.sublime-build file, which is part of the Marked Bonus Pack. It adds options for building tex, opml, and odf files. To build a tex file, open the command palette and search for “MMD to LaTeX.” The file is saved as “Marked.sublime-build” in /Users/YourUserName/Library/Application Support/Sublime Text 3/Packages. Here is the complete build file:

{n    "cmd": ["open","-a","/Applications/Marked.app","$file"],n    "selector": "text.html.markdown",nn    "variants": [n        {n            "cmd": ["mmd2tex", "$file"],n            "path": "/usr/local/bin",n            "name": "MMD to LaTeX"n        },nn        {n            "cmd": ["mmd2odf", "$file"],n            "path": "/usr/local/bin",n            "name": "MMD to ODF"n        },nn        {n            "cmd": ["mmd2opml", "$file"],n            "path": "/usr/local/bin",n            "name": "MMD to OPML"n        }nn    ]n}n

Happy New Year!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s