cleanup, docs
This commit is contained in:
@@ -119,4 +119,8 @@ The page template can then render `context.call["fragments"]["head"]` inside `<h
|
||||
- If a `#load` include looks wrong, check the current file's directory, the configured `BIN_DIRECTORY`, and whether the loaded page already produced its own generated `.cpp`.
|
||||
|
||||
:example
|
||||
print("C++ Preprocessor documents a UCE concept.\n");
|
||||
// The preprocessor lets you mix C++ logic with output. Code generates markup:
|
||||
StringList items = split("apples,pears,plums", ",");
|
||||
String html = "";
|
||||
items.each([&](String item) { html += "<li>" + item + "</li>"; });
|
||||
print(html, "\n");
|
||||
|
||||
Reference in New Issue
Block a user