I find myself spending a lot of time when I have to create blog posts with code examples in them. What's the fastest way to do this? Is there a plugin that does it easier and faster?

Example: http://julianomoreira.com/notebook/article/php-mail-and-mac-os-x-mountain-lion

It took me a while. Would you share your workflow?

  • Huh? I honestly thought this post was spam for the 5 reads. Can you explain what you did for that site that you found so difficult, and what sort of solution you are looking for? Commented Nov 9, 2013 at 23:56
  • I'm looking for a better way to add code examples to my posts. I'm wondering what people use to add coding examples (html, css or javascript) to a blog posts. Is there an add-on for that? Commented Nov 10, 2013 at 3:45

2 Answers 2


If you have Wygwam installed, I'd recommend taking a look at GWCode SyntaxHighlighter.


It's served me well for years now, and since it's integrated as a Wygwam toolbar button, it allows you to mix prose and code all in one single field.

Cheers, John


Checkout the EE syntax plugin from Eric Lamb at Mithra62:


I think that will help you do what you are looking for. It formats code based on the geshi library and supports a number of different syntax highlighting formats.

  • I installed it and tried. It works well but one thing I noticed was if you change the value of lang (lang="php"), as indicated on its website, to something like HTML or CSS then the design breaks. Did you notice it as well? THanks! Commented Nov 13, 2013 at 6:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.