Template:Codesample/doc

{	"params": { "code": { "aliases": [ "1"			],			"label": "Code", "description": "Code sample to render", "type": "string", "required": true },		"lang": { "label": "Programming language", "description": "Name of lexer to use for highlighting", "example": "shell-session", "type": "string", "default": "text", "suggested": true },		"name": { "label": "Title", "description": "Title (name) of this code sample. Often a filename", "type": "string", "suggested": true },		"highlight": { "label": "Highlighted lines", "description": "Line(s) in example to highlight. Comma separated list of line numbers", "type": "string" },		"line": { "label": "Show line numbers", "description": "Enable line numbers for sample", "type": "boolean" },		"start": { "label": "Starting line number", "description": "Starting line number when line numbers are shown. Note: Does not effect line numbers used for highlights.", "type": "number", "default": "1" },		"scheme": { "label": "Color scheme", "description": "Color scheme to use. \"dark\" and \"light\" will apply solarized color schemes. Anything else will use syntaxhighlight extension defaults.", "type": "string", "default": "dark" }	},	"description": " ||
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }
 * }

Adding a new color scheme
The  parameter will load a css sub-page to add styles matching the Pygments markup definitions. The easiest way to introduce a new scheme is to export it from Pygments itself:.