| We already have a script service to parse and render the content. We're missing a script service to execute the rendering transformations. I would like to be able to do something like this:
See https://forum.xwiki.org/t/new-services-rendering-transform-api/18175 . Note that this is needed for BlockNote integration, which uses the Edit Module, which allows having a template as the entry point for loading the editor. When loading the editor we need to "convert" the content of the edited document from the source syntax to the syntax supported by BlockNote (UniAst). We need to execute the rendering transformations when performing this conversion. |