SyntaxHighlight

From OuroDev
Revision as of 22:24, 26 April 2019 by TheManicCoder (talk | contribs) (Created page with "'''To use syntax highlighting in an article when needing to demonstrate code, you ''' thumb|How to use the syntaxhighlight extension <syntaxhighlight l...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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