On Jun 5, 2008, at 1:13 AM, Ludovic Dubost wrote:
Very cool ! Great to see progress on this !
Apparently the {html} macro has been renamed to {xhtml}
Yes... I've fixed the design doc. We need to decide what we prefer: xhtml, html or even xml.
the xhtml macro for {xhtml}<b>bold</b>{/xhtml} renders "xxx bold /xxx"
Fixed. It renders <b><p>bold</p></b> now. I'm still unsure if that's ok or if there's anything we want to do about this. For ex what would the following be expected to render: <b>line1 line2 </b>
{velocity:wiki=false} seems to fail
Yes this is not implemented.
non existant macro make the whole page fail
Right now any error makes the whole page fail.
In general the error don't tell you what's wrong, which is something we will need to improve
Yep, haven't worked on that yet.
I'm sure you already all know them..
Those yes but there are plenty more. Keep them coming though.
It's really cool.. even the PDF export is already working !
That's pure luck :) Especially since it's supposed to be implemented through a renderer now. -Vincent
Vincent Massol wrote:
ah 2 more things:
* You need to have admin rights to see the ability to change the syntax in edit mode. This is because it's still experimental. * Link to the design doc: http://dev.xwiki.org/xwiki/bin/view/Design/NewRenderingArchitecture
-Vincent
On Jun 4, 2008, at 10:57 PM, Vincent Massol wrote:
Hi,
Just committed the new rendering mechanism in xwiki core. Please note that this is a work in progress and it's missing a LOT of things. However we can now all work together on finishing it.
Here's how it works: * Each document has a syntax id, which defaults to XWiki 1.0 * In edit mode (Toucan skin), you can change the syntax for a page using the Document Information panel on the right
What's supposedly working in the new syntax: * basic wiki syntax, lists, paragraph. Not everything is done yet and there are some bugs in the WikiModel XWiki parser * velocity macro, xhtml macro and include macro
Try it out and have fun, just don't expect too much yet... ;) -Vincent