For me the problem's not adding code snippets to Evernote, it's the copy-paste from Evernote. Evernote embeds control-chars into the copied code. When pasted into emails or Slack, the invisible control-characters are there and when others use the code, e.g. bash commands, the commands are broken. I've been using Bear for all my code work and Evernote for personal data.