Adds a handy menu item that opens Marked 2.app or Marked.app to preview your current file.
Issues: https://github.com/icio/sublime-text-marked/issues
Adapted from the excellent Github for mac plugin for Sublime Text by Chris Tan. Originally developed by jocelynmallon, now supported by icio.
Package Installer:
- Install Sublime Package Control
- Select "Package Control: Install Package" from the Command Palette (⌘⇧P)
- Find "Marked App Menu" and select
Manually:
- Install Marked 2.app (App Store) or Marked.app (App Store)
- Download sublime-text-marked and copy unzipped folder to your Sublime Text packages folder (Sublime Text (2) → Preferences → Browse Packages...)
- Restart Sublime Text
# For Sublime Text 2
cd ~/Library/Application Support/Sublime Text 2/Packages
mkdir Marked.app\ Menu
curl -L https://github.com/icio/sublime-text-marked/tarball/master | tar --strip-components 1 -C Marked.app\ Menu -xvf -
With the view selected containing the file you wish to preview in Marked:
Command Palette:
- Select "Marked" from the Command Palette (⌘⇧P)
Keyboard Shortcut:
-
Add the following to your User Key Binding, adjusting the key configuration to taste:
{ "keys": ["super+alt+m"], "command": "marked" }
Menus:
- Select Tools → Marked