Code Highlighting in Evernote... Kinda
A while back, Evernote for Mac added Code Blocks. To enable this feature, you cannot use the App Store version of Evernote.
In addition, you have to check Enable Code Block in Preferences
Code blocks were okay, allowing you to do nice simple stuff maintaining your plain text formatting like this:
But there was no way to keep your colored syntax formatting (from Xcode, App Code and others) until Evernote 6.11 for Mac (or sometime like that).
Here's how to do it:
- Type one line of text
- Turn that into a code block
- Replace the contents of that code block with code you paste from Xcode
- That's it!
Stubbed Code Block
Stubbed Code Block, Content Replaced
In Atom: Use Copy as RTF
The Copy as RTF package in Atom will make this work there too. Fun!