I am using a CMS that has FCK editor. It doesn't have an option to enter a Code sample like the way Stack Overflow's has.
I think the easiest way to do it would be to use an external editor, convert into HTML and use the HTML in the CMS to edit content.
Any suggestions?
EDIT:
@IAN - It doesnt seem to be working for me. I tried using the <pre>
markup both in the HTML view and the WYSISWG view.
The link says that I need the include JS and css file:
<link href="prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="prettify.js"></script>
Does the FCK editor already include this?