Render a SyntaxTree to an HTML string.
This is the main entry point of @wdprlib/render. It walks the AST produced by @wdprlib/parser, serialises each element to HTML, and appends any collected [[module CSS]] styles at the end (when WikitextSettings.allowStyleElements is true).
@wdprlib/render
@wdprlib/parser
[[module CSS]]
WikitextSettings.allowStyleElements
true
Parsed AST (from parse() or resolveModules())
parse()
resolveModules()
Rendering configuration
Complete HTML string
Render a SyntaxTree to an HTML string.
This is the main entry point of
@wdprlib/render. It walks the AST produced by@wdprlib/parser, serialises each element to HTML, and appends any collected[[module CSS]]styles at the end (whenWikitextSettings.allowStyleElementsistrue).