Rendering

Last modified by superadmin on 2026/12/04 14:19

The step that turns the stored syntax of a page into the result a reader gets, and what a developer puts into it.

Explanation

XWiki stores the content of a page as text in a syntax and never stores the HTML a reader gets. Rendering is the step that works that result out again on every request: a parser turns the stored text into a tree of blocks, transformations rewrite that tree, and a renderer writes it out in the format that was asked for.

Most of what a developer adds to the pipeline is a macro. Rendering Macros covers what a macro is in the code, the transformation that executes it, the ways of writing one in Java or in a wiki page, and the macros XWiki already bundles.

The same conversion also happens in the browser. Front-End Rendering documents the npm packages that convert syntaxes such as Markdown or HTML to and from a universal AST, and Front-End Syntaxes the components through which a syntax declares to the editor which features it allows.

More

To find more about the current topic, you can search or use the table below and filter the columns to narrow your choices.

Related

Get Connected