Central rendering context that tracks state during a single HTML render pass.
Every render invocation creates one RenderContext instance, which serves
as both an output buffer and a registry for sequential counters (footnotes,
TOC headings, equations, HTML blocks, bibliography citations). The context
also exposes helpers for resolving image sources, page links, and
HTML attribute maps -- operations that depend on the current
WikitextSettings and PageContext.
Central rendering context that tracks state during a single HTML render pass.
Every render invocation creates one RenderContext instance, which serves as both an output buffer and a registry for sequential counters (footnotes, TOC headings, equations, HTML blocks, bibliography citations). The context also exposes helpers for resolving image sources, page links, and HTML attribute maps -- operations that depend on the current WikitextSettings and PageContext.