Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I'm trying to implement syntax highlighter in SharePoint and have it working, but want to be able to use it in a list using a multi-text field. I would like to wrap the text that I paste into the editor with the <pre class> and </pre> tags with SyntaxHighlihter uses. Any ideas as to how to inject those tags into the RTE would be helpful!

share|improve this question
    
If this is 2010.. have you seen this question? sharepoint.stackexchange.com/questions/34089/… –  Kit Menke Apr 18 '12 at 21:40
add comment

1 Answer 1

You can use Shnt Highlightrer for SharePoint or take a look at source files as a start point for own implementation.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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