Changes for page Code Macro

Last modified by Admin on 2024/03/29 07:52

<
From version < 4.2 >
edited by Thomas Mortagne
on 2019/06/14 14:11
To version < 6.1 >
edited by Simon Urli
on 2019/06/14 16:47
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.ThomasMortagne
1 +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 numbers
22 -)))|##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  

Get Connected