nektro/zig-pek
A comptime HTML preprocessor with a builtin template engine for Zig.
{ "createdAt": "2021-08-05T07:47:57Z", "defaultBranch": "master", "description": "A comptime HTML preprocessor with a builtin template engine for Zig.", "fullName": "nektro/zig-pek", "homepage": "", "language": "Zig", "name": "zig-pek", "pushedAt": "2025-06-22T01:54:50Z", "stargazersCount": 52, "topics": [ "zig-package" ], "updatedAt": "2025-11-24T13:01:51Z", "url": "https://github.com/nektro/zig-pek"}A comptime HTML preprocessor with a builtin template engine for Zig.
Example Document
Section titled “Example Document”html[lang="en"]!( head( title("Pek Example") meta[charset="UTF-8"] meta[name="viewport" content="width=device-width,initial-scale=1"] ) body( h1("Pek Example") hr p("This is an example HTML document written in "a[href="https://github.com/nektro/zig-pek"]!("Pek")".") ))Example Usage
Section titled “Example Usage”See [test.zig]!(test.zig).