简单博客功能实现

源代码在线查看: cpp.js

软件大小: 3141 K
上传用户: yhb71181491615
关键词: 博客
下载地址: 免注册下载 普通下载 VIP

相关代码

				Lighter.addLanguage({
					language:"cpp",
					delimiter:",(){}[]-+*%/=\"'~!&|?:;.#",
					quotation1:"\'",
					quotation2:"\"",
					continue_quote:"n",
					linecomment:"//",
					commenton:"/*",
					commentoff:"*/",
					escape:"\\",
					objectColor:"#ff0000",
					lineNumberColor:"#006600",
					lineNumberSepColor:"#006600",
					reservedWordColor:"#0000ff",
					normalWordColor:"#000000",
					delimiterColor:"#000000",
					propertyColor:"#008684",
					methodColor:"#008684",
					stringColor:"#ff00ff",
					baseColor:"#000000",
					commentColor:"#006600",
					reservedWords:["define","error","include","elif","if","line","else","ifdef","pragma",
						"endif","ifndef","undef","if","else","endif","auto","bool","break","case","catch",
						"char","cerr","cin","class","const","continue","cout","default","delete","do","double",
						"else","enum","explicit","extern","float","for","friend","goto","if","inline","int","long",
						"namespace","new","operator","private","protected","public","register","return","short","signed",
						"sizeof","static","struct","switch","template","this","throw","try","typedef","union","unsigned",
						"virtual","void","volatile","while","__asm","__fastcall","__based","__cdecl","__pascal","__inline",
						"__multiple_inheritance","__single_inheritance","__virtual_inheritance"],
					objects:[],
					properties:[],
					methods:[]
				});
							

相关资源