I would like to have syntax highlighting available for blog posts. I'm using NOP 3.8.

What I did so far:

1. Upgraded timymce to 4.5.2
2. Modified Administration\Views\Shared\RichEditor.cshtml with the following:

plugins: [
                "advlist autolink autoresize directionality lists link image charmap print preview anchor",
                "searchreplace visualblocks code fullscreen codesample",
                "insertdatetime media table contextmenu paste@(allowJbimages ? " jbimages" : null)@(enableFullPage ? " fullpage" : null)"
            ],
toolbar: "ltr rtl | insertfile undo redo | styleselect | fontselect | fontsizeselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | code codesample | link image@(allowJbimages ? " jbimages" : null)",

No errors, but I don't get a codesample button in the editor.

I also tried editing the adminareasettings.richeditoradditionalsettings with:

settings.valid_children= '+body[link]';
settings.plugins.push('textcolor codesample'); settings.toolbar += ' | forecolor backcolor codesample';

I feel like I'm close, but seem to be missing something simple. Again, no errors, but then no codesample button.

Thanks!