Hi xwiki-users,
I have a question (or more of a request) regarding the upcoming Pygments
support in XWiki 1.7. We currently use XWiki at work to keep an internal
documentation wiki for our application. We've created a few plugins which
we've used in the following fashion perfectly (XWiki 1.0 syntax):
{code:sql}
DECLARE myDate DATETIME
SELECT myDate = '$xwiki.dateParser.parseDate( "-1b", "yyyyMMdd"
)' -- this
gives us the previous business date in yyyyMMdd format
...
{code}
Vincent kindly gave me a heads up regarding XWiki 1.7's Pygments support
(seems to be supported by running it under Jython - VERY exciting :-D). So,
I was wondering... Would something like the above be supported (i.e.
verbatim code, but allow velocity macros to be run inside the code block)?
If not, are there any documentation out there (other than the source code)
detailing steps to create an XWiki macro (found
http://dev.xwiki.org/xwiki/bin/view/Drafts/Tutorial+to+Write+a+Macro+in+the…
does help a bit if viewed in the code viewer),
does not support it yet.
You can copy its code (from the code viewer) to a page in syntax 2.0 to
see it more comfortable.
Jerome.
so that maybe we can
build in support for something like that? Again, thanks for the great work!
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users