- Assuming you're using the PackageControl.io module
- Install package named 'Highlight'. You don't need to create a repo or anything else.
- URL for the package (shouldn't need it) is https://packagecontrol.io/packages/Highlight
- Go to Preferences > Package Settings > SublimeHighlight and set the prefs otherwise pasted text looks awful. I use:
{
"theme": "monokai",
"linenos": "inline",
"noclasses": true,