| 1 | # Pek |
| 2 | |
| 3 |  |
| 4 | [](https://github.com/nektro/zig-pek/blob/master/LICENSE) |
| 5 | [](https://github.com/sponsors/nektro) |
| 6 | [](https://ziglang.org/) |
| 7 | [](https://github.com/nektro/zigmod) |
| 8 | |
| 9 | A comptime HTML preprocessor with a builtin template engine for Zig. |
| 10 | |
| 11 | ## Example Document |
| 12 | |
| 13 | ```fsharp |
| 14 | html[lang="en"]( |
| 15 | head( |
| 16 | title("Pek Example") |
| 17 | meta[charset="UTF-8"] |
| 18 | meta[name="viewport" content="width=device-width,initial-scale=1"] |
| 19 | ) |
| 20 | body( |
| 21 | h1("Pek Example") |
| 22 | hr |
| 23 | p("This is an example HTML document written in "a[href="https://github.com/nektro/zig-pek"]("Pek")".") |
| 24 | ) |
| 25 | ) |
| 26 | ``` |
| 27 | |
| 28 | ## Example Usage |
| 29 | |
| 30 | See [test.zig](test.zig). |