Wiki source code of XWiki Syntaxes
Version 50.7 by Vincent Massol on 2013/07/23
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
48.12 | 1 | {{groovy}} |
![]() |
50.1 | 2 | def content = xwiki.getURLContent('https://raw.github.com/xwiki/xwiki-platform/master/xwiki-platform-core/xwiki-platform-help/xwiki-platform-help-ui/src/main/resources/XWiki/XWikiSyntax.xml') |
![]() |
48.14 | 3 | def dummyDoc = xwiki.getDocument("Dummy") |
4 | dummyDoc.getDocument().fromXML(content) | ||
![]() |
48.12 | 5 | println "{{html clean='false'}}${dummyDoc.getRenderedContent()}{{/html}}" |
6 | {{/groovy}} |