Thank you so much for the feedback (as always!), Vincent :-D Can't wait to try out 1.7 - looking forward to the next release! And, appreciate the tip, Jerome - these sorts of tutes reeeeeeally help a lot :-) On 11/26/08, Jerome Velociter <[email protected]> wrote:
Lewis Denizen wrote:
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),
This draft http://dev.xwiki.org/xwiki/bin/view/Drafts/Tutorial+to+Write+a+Macro+in+the+... is actually written for XWiki Syntax 2.0, but the version on XWiki.org 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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users