Closed (fixed)
Project:
Syntax Highlighter
Version:
7.x-2.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Apr 2013 at 10:56 UTC
Updated:
6 May 2013 at 11:41 UTC
Hello
I am using syntax highlighter in a site. Now I want objective C in language included in syntax highlighter. I had created a file named shBrushObjectiveC.js in syntax highlighter library. I copied the code from http://www.undermyhat.org/blog/wp-content/uploads/2009/09/shBrushObjecti... provided by http://alexgorbatchev.com/ . Now I can see objective C name in my syntax highlighter configuration page but when I add content and write objective C code with in the
tag. It does not display my code highlighted. Please tell me where I am wrong in my js or I need to add anything extra in module.
Thanks in advance
Comments
Comment #1
lovelykaushik86 commentedDownload zip and place your shBrushObjC.js in syntaxhighlighter_3.0.83\scripts\ and replace your css placed in syntaxhighlighter_3.0.83\styles\ with the css provided in downloaded zip.
Now go to the configuration page of syntaxhighlighter on your site and enable objc language.
Write your objc program within
tags.
You can write objc programs on your site and it looks like something from IDE.
Comment #1.0
lovelykaushik86 commentedwritten something wrong