OptionalbaseBase URL for resolving protocol-relative URLs (e.g. "//example.com/path").
The scheme of this URL (http: or https:) is prepended to
protocol-relative references. When omitted, HTTPS is assumed.
OptionalembedAllowlist for [[embed]] content with host and optional path validation.
OptionalfootnotesPre-collected footnote element arrays from SyntaxTree.footnotes.
Passed through so the renderer can emit footnote bodies in the
[[footnoteblock]] section.
OptionalhtmlSandbox attribute value for htmlBlock iframes.
Examples:
OptionalpagePage context for resolving relative links, local file paths, etc.
OptionalresolversCallbacks for resolving users, HTML-block URLs, etc.
OptionalsettingsContext-dependent feature flags. Defaults to page-mode settings when omitted.
Full configuration for
renderToHtml().Every field is optional; defaults produce safe, standalone HTML output suitable for a full wiki page.