Code Snippets on blog?

Topics: Customizing Orchard
Aug 17, 2011 at 5:53 PM

Hello. I was wondering what the easiest way would be to be able to add "code snippets" on my orchard blog. I have seen many times on blogs where there is a block of formatted code and it usually has line numbers and a toolbar with a copy button and such. I was wondering how I could easily do this on my orchard-powered blog.

Thanks,

Joe

Coordinator
Aug 17, 2011 at 6:33 PM

Yes, there is a module for that on the gallery. One of the first contributes modules actually.

http://orchardproject.net/gallery/List/Modules/Orchard.Module.Heikura.SyntaxHighlighter

Aug 17, 2011 at 8:51 PM

Great - thank you. I searched the modules but I guess I used the wrong keywords.

Thanks,

Joe