SyntaxHighlight

From OuroDev

To use syntax highlighting in an article when needing to demonstrate code, you


Error creating thumbnail: File missing
How to use the syntaxhighlight extension
void initGameChecksum()
{
	char	*s,full_path[MAX_PATH];
	strcpy(full_path,fileDataDir());
	s = strrchr(full_path,'/');
	if (s)
		*s = 0;
	strcat(full_path,"/Some.exe");
	if (!checksumFile(full_path,correct_game_checksum))
	{
		ignore_checksum = 1;
		printf("game checksum = 0, assuming dev mode\n");
	}
}


Supported Common Languages
  • Apache
  • Bash
  • C#
  • C++
  • CSS
  • CoffeeScript
  • Diff
  • HTML, XML
  • HTTP
  • Ini
  • JSON
  • Java
  • JavaScript
  • Makefile
  • Markdown
  • Nginx
  • Objective-C
  • PHP
  • Perl
  • Python
  • Ruby
  • SQL
  • Shell Session