Skip to content
Oeiuwq Faith Blog OpenSource Porfolio

nektro/zig-pek

A comptime HTML preprocessor with a builtin template engine for Zig.

nektro/zig-pek.json
{
"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"
}

loc license nektro @ github sponsors Zig Zigmod

A comptime HTML preprocessor with a builtin template engine for Zig.

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")".")
)
)

See [test.zig]!(test.zig).