Testing the Crayon Syntax Highlighter plugin

How to use the Crayon Syntax Highlighter plugin to include Arduino code in your posts very nicely:

  1. Copy Arduino code with simple ^C (or <COMMAND> C), not as html
  2. In your post, press the “Crayon” button. This is the second (larger) pair of angle brackets. You will know it’s the right one when you hover over it and you’ll see “crayon-te-content”.
  3. Paste your code in the popup window
  4. Click the “Add” button
  5. Update (or Publish) your post
  6. View your post to verify correctness

Here is some Arduino code:

And here is some text after the Arduino code

Leave a Reply

Your email address will not be published. Required fields are marked *