Changes for page Code Macro
Last modified by Admin on 2024/03/29 07:52
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -xwiki:XWiki. ThomasMortagne1 +xwiki:XWiki.surli
- ExtensionCode.ExtensionClass[0]
-
- Description
-
... ... @@ -1,4 +1,4 @@ 1 -See http://pygments.org/languages/ for the list of all supported languages. If you have a hard time finding the right id for the language you can look at http://pygments.org/docs/lexers/#lexers-for-php-and-related-languages.1 +See http://pygments.org/languages/ for the list of all supported languages. If you have a hard time finding the right id for the language you can look at pygments.org/docs/lexers/. 2 2 3 3 {{info}} 4 4 See also the [[Highlight Macro>>Extension.Highlight Macro]]. ... ... @@ -18,8 +18,8 @@ 18 18 |language|yes|a string|the macro tries to determine the syntax|the language identifier of the provided code snippet. If no language identifier is specified then the macro will try to determine the syntax. To avoid highlight you can use "##none##" language identifier. 19 19 |layout|yes|((( 20 20 * ##plain##: the result of the parser 21 -* ##line _num##: add line numbers22 -)))|##plain##|{{info}}Since 11.5{{/info}} The layout to apply to the code. 21 +* ##linenumbers##: add line numbers 22 +)))|##plain##|{{info}}Since 11.5RC1{{/info}} The layout to apply to the code. 23 23 24 24 This macro also support all [[Box Macro parameters>>Box Macro||anchor="HParametersdefinition"]]. 25 25