Skip to content
/ zig-pek Public

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

License

Notifications You must be signed in to change notification settings

nektro/zig-pek

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pek

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

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

src/main.zig

Built With

Add me

$ zigmod aq add 1/nektro/pek

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published