Changes for page Code Macro

Last modified by Admin on 2024/03/28 10:57

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

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.surli
1 +xwiki:XWiki.ThomasMortagne
ExtensionCode.ExtensionClass[0]
Description
... ... @@ -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 -* ##linenumbers##: add line numbers
22 -)))|##plain##|{{info}}Since 11.5RC1{{/info}} The layout to apply to the code.
21 +* ##line_num##: add line numbers
22 +)))|##plain##|{{info}}Since 11.5{{/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