Code source wiki de Confluence bridge for HtmlComment
Version 4.1 par superadmin le 21/07/2025 - 08:55
Masquer les derniers auteurs
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | The ##htmlcomment## macro is a bridge between Confluence and XWiki. It gives the possibility to add a comment in HTML code. |
| 2 | |||
| 3 | = Parameters = | ||
| 4 | |||
| 5 | |=Parameter|=Description|=Required|=Default | ||
| |
2.1 | 6 | |**hidden**|Define if the comment should be rendered in the output HTML or not.|No|false |
| |
1.1 | 7 | |
| 8 | = Example Usage = | ||
| 9 | |||
| 10 | {{code}} | ||
| |
2.1 | 11 | {{confluence_htmlcomment}} |
| |
1.1 | 12 | it s a comment |
| |
2.1 | 13 | {{/confluence_htmlcomment}} |
| |
1.1 | 14 | {{/code}} |
| 15 | |||
| 16 | Result HTML: | ||
| 17 | |||
| 18 | {{code}} | ||
| 19 | <!-- it s a comment --> | ||
| 20 | {{/code}} |