Template:Viewer/Github/Code: Difference between revisions

m
Protected "Template:Viewer/Github/Code": Protected as read-only import via Page Exchange extension ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]
(Install package: OSW Core)
 
m (Protected "Template:Viewer/Github/Code": Protected as read-only import via Page Exchange extension ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading])
 
(One intermediate revision by the same user not shown)
Line 40: Line 40:
"type": "string",
"type": "string",
"label": "Highlighted lines",
"label": "Highlighted lines",
"description": "List of lines or line ranges to highlight. Line numbers are absolute and must be between start and end line of a block selection.",
"description": "List of lines or line ranges to highlight. Line numbers are absolute and must be between start and end line of a block selection. Not supported with rendered markdown.",
"example": "5,7,9-10",
"example": "5,7,9-10",
"suggested": true
"suggested": true
},
"render_markdown": {
"type": "boolean",
"label": "Render markdown",
"description": "If set, Markdown files (\".md\") are rendered instead of displaying the source text",
"autovalue": "1"
},
},
"uuid": {
"uuid": {
Line 60: Line 66:
"lang",
"lang",
"highlight",
"highlight",
"render_markdown",
"uuid"
"uuid"
]
]
Line 74: Line 81:
|lang={{{lang|}}}
|lang={{{lang|}}}
|highlight={{{highlight|}}}
|highlight={{{highlight|}}}
|render_markdown={{{render_markdown|}}}
}}(Source Code from [{{{url|}}} Github])</includeonly>
}}(Source Code from [{{{url|}}} Github])</includeonly>