Skip to content

Instantly share code, notes, and snippets.

@CNG
Last active August 29, 2015 14:00
Show Gist options
  • Save CNG/11174202 to your computer and use it in GitHub Desktop.
Save CNG/11174202 to your computer and use it in GitHub Desktop.
MTML highlighting for Coda 2 on OSX Mavericks
Trying to do this within Coda 2 -> Preferences -> Editor -> Custom Syntax Modes worked on one computer but gave me an error on another. So for that computer, I did this:
Used https://github.com/zenangst/Coda-2-Modes:
cd ~/Library/Application\ Support/Coda\ 2
mv Modes Modes.bak
git clone git@github.com:zenangst/Coda-2-Modes.git Modes
sed -i -e 's/<extension>xml<\/extension>/<extension>xml<\/extension><extension>mtml<\/extension>/' Modes/XML.mode/Contents/Resources/ModeSettings.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment