Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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