How do I set up a syntax highlighter on Blogger? [closed]

1. First, take backup of your blogger template 2. After that open your blogger template (In Edit HTML mode) & copy the all css given in this link before </b:skin> tag 3. Paste the followig code before </head> tag <script src=”http://syntaxhighlighter.googlecode.com/svn/trunk/Scripts/shCore.js” type=”text/javascript”></script> <script src=”http://syntaxhighlighter.googlecode.com/svn/trunk/Scripts/shBrushCpp.js” type=”text/javascript”></script> <script src=”http://syntaxhighlighter.googlecode.com/svn/trunk/Scripts/shBrushCSharp.js” type=”text/javascript”></script> <script src=”http://syntaxhighlighter.googlecode.com/svn/trunk/Scripts/shBrushCss.js” type=”text/javascript”></script> <script src=”http://syntaxhighlighter.googlecode.com/svn/trunk/Scripts/shBrushDelphi.js” type=”text/javascript”></script> <script … Read more

Xcode code sense color/completion not working

In Xcode 4, I haven’t been able to find a “Rebuild Code Sense” button either, but if you go to Window -> Organizer, select the Project tab, and click “Delete…” next to the Derived Data folder, it seems to have the same effect. (I got that tip from http://blog.slidetorock.com/xcode-4-code-sense-autocompletion-problems, which indicates that it got it … Read more

Xcode: code loses syntax coloring

1.) Go to Project –> Build Settings –> Header Search Paths 2.) Add “$(SRCROOT)/**” 3.) Close and reload the project 4.) Go to Xcode –> Window –> Organizer –> Projects –> $YourProject –> Delete Derived Data 5.) Wait a moment until XCode rebuild all indicies To get more information activate verbose logging: 1.) Increase Xcode … Read more

How to highlight Bash scripts in Vim?

Are you correctly giving the shell script a .sh extension? Vim’s automatic syntax selection is almost completely based on file name (extension) detection. If a file doesn’t have a syntax set (or is the wrong syntax), Vim won’t automatically change to the correct syntax just because you started typing a script in a given language. … Read more

Change / Add syntax highlighting for a language in Sublime 2/3

Syntax highlighting is controlled by the theme you use, accessible through Preferences -> Color Scheme. Themes highlight different keywords, functions, variables, etc. through the use of scopes, which are defined by a series of regular expressions contained in a .tmLanguage file in a language’s directory/package. For example, the JavaScript.tmLanguage file assigns the scopes source.js and … Read more