Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Lee Hughes
Lee Hughes
8,380 Points

Embed code in Evernote with syntax highlighting

Hi,

I'm wondering if anyone knows of an easy way to add code snippets with syntax highlighting into Evernote. I'm currently trying http://www.cheeatz.com/editor but it doesn't seem to sync plus I'm not really a fan of the syntax.

If anyone knows of another tool which could do this that would be amazing :)

Thanks

3 Answers

Didier Chartrain
Didier Chartrain
11,279 Points

No there is nothing else than copy/paste coloured text for now. I hope Evernote will take this seriously for their futur updates...

Omahr B. Carpinteyro
seal-mask
.a{fill-rule:evenodd;}techdegree
Omahr B. Carpinteyro
Front End Web Development Techdegree Student 4,684 Points

You can come to any post discussion in treehouse and place your code snippet in the answer textarea, then click preview and copy the highlighted snippet :) and dismiss post answer

Example:

<table>

      <caption>Employee Information</caption>

      <thead>
        <tr>
          <th scope="col">Name</th>
          <th scope="col">E-mail</th>
          <th scope="col">Job role</th>
        </tr>
      </thead>

I can copy this snippet to evernote and it will keep the highlighted syntax. It would be nice if the attributes would be in a different color than the html element

.d-load a::after{
   content: attr(href);
}

This is a CSS snippet