changing doc format and HTML literals

This commit is contained in:
udo
2026-04-22 01:56:46 +00:00
parent 8223dcc6b3
commit f7b066b374
123 changed files with 1917 additions and 1611 deletions
+11 -7
View File
@@ -6,21 +6,25 @@ void unit_render(String file_name, Request& context)
file_name : UCE file to load and execute
context : optional request context to pass into the target page
:desc
:see
>ob
:content
Calls another UCE file and executes its `RENDER(Request& context)` function.
If `context` is omitted, the current active request context is used.
:Example
Examples:
```cpp
// call a common page template
unit_render("page-template.uce");
// explicitly pass a request context
unit_render("page-template.uce", context);
```
:see
>ob
Related:
:related
**PHP:** Rendering another view or template with the current request state and captured output
**JavaScript / Node.js:** Calling another template renderer or SSR partial with the current request context
- PHP: rendering another view or template with the current request state and captured output
- JavaScript / Node.js: calling another template renderer or SSR partial with the current request context