I'm trying to copy my code from Sublime Text 3 into my Word document in RTF format with colors in tact by using this plugin:
https://github.com/n1k0/SublimeHighlight
The instructions say:
Sublime Text 3 users: a
python3
branch is also available. Justgit
from the root of your package installation to use in
checkout python3
in ST3. If you upgrade from a previous ST2 installation or encounter
problems with the package, please proceed as detailed below:
- Remove the package, if installed, using Package Control.
- Add a repository:
https://github.com/n1k0/SublimeHighlight/tree/python3
- Install
SublimeHighlight
with Package Control. It should pull the correct branch from Github.- Restart Sublime Text 3
Well…I'm a noob when it comes to all the stuff it's describing. I went to /Applications/Sublime\ Text.app/MacOS
and ran git checkout python3
but got fatal: Not a git repository (or any of the parent directories): .git
. I think I need to install git? Or Python3? I'm not sure exactly where to start or even if this git stuff is worth Googling, as I'm not even sure if I'm running the command in the correct directory or even if the plugin indeed is compatible with MacOS (even though their screenshots of using the plugin on Sublime Text 2 are in MacOS on the GitHub ReadMe…)
I would greatly appreciate some guidance
Best Answer
I found the answer in another post: https://stackoverflow.com/a/39432069/3511695