Wiki source code of XWiki Syntaxes
Version 53.1 by Vincent Massol on 2016/03/18
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
53.1 | 1 | {{velocity}} |
2 | $response.sendRedirect($xwiki.getURL('XWiki.XWikiSyntax')) | ||
3 | {{/velocity}} | ||
4 | |||
![]() |
52.1 | 5 | {{comment}} |
![]() |
48.12 | 6 | {{groovy}} |
![]() |
51.1 | 7 | def content = xwiki.getURLContent('https://raw.github.com/xwiki/xwiki-platform/stable-5.2.x/xwiki-platform-core/xwiki-platform-help/xwiki-platform-help-ui/src/main/resources/XWiki/XWikiSyntax.xml') |
![]() |
48.14 | 8 | def dummyDoc = xwiki.getDocument("Dummy") |
9 | dummyDoc.getDocument().fromXML(content) | ||
![]() |
48.12 | 10 | println "{{html clean='false'}}${dummyDoc.getRenderedContent()}{{/html}}" |
11 | {{/groovy}} | ||
![]() |
52.1 | 12 | {{/comment}} |
13 | |||
![]() |
53.1 | 14 |