1/nektro/pek v0.40

An HTML preprocessor with a builtin template engine.


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

License

AGPL-3.0

Package Contents

  • .gitattributes
  • zigmod.lock
  • LICENSE
  • build.zig
  • src/lib.zig
  • src/tokenize.zig
  • src/main.zig
  • src/astgen.zig
  • test.html
  • README.md
  • zig.mod
  • .gitignore

Dependencies

  • git https://github.com/kivikakk/htmlentities.zig
  • git https://github.com/nektro/zig-extras
  • git https://github.com/nektro/zig-tracer

History

Published On Tree @ Commit Size
v0.45 Wed, 10 Apr 2024 19:13:21 UTC Tree 50.157 KB
v0.44 Wed, 10 Apr 2024 19:11:07 UTC Tree 50.158 KB
v0.43 Thu, 21 Mar 2024 00:34:57 UTC Tree 49.062 KB
v0.42 Thu, 21 Mar 2024 00:34:08 UTC Tree 49.082 KB
v0.41 Sun, 26 Nov 2023 08:58:47 UTC Tree 67.621 KB
v0.40 Sat, 25 Nov 2023 23:55:51 UTC Tree 67.368 KB
v0.39 Fri, 24 Nov 2023 20:14:24 UTC Tree 67.100 KB
v0.38 Thu, 21 Sep 2023 02:31:16 UTC Tree 67.047 KB
v0.37 Sat, 16 Sep 2023 05:08:40 UTC Tree 66.637 KB
v0.36 Sun, 09 Jul 2023 21:06:13 UTC Tree 66.493 KB
v0.35 Thu, 06 Jul 2023 10:41:54 UTC Tree 66.286 KB
v0.34 Thu, 06 Jul 2023 05:26:31 UTC Tree 64.935 KB
v0.33 Thu, 29 Jun 2023 07:57:20 UTC Tree 64.788 KB
v0.32 Thu, 22 Jun 2023 01:28:52 UTC Tree 64.384 KB
v0.31 Fri, 16 Jun 2023 01:54:14 UTC Tree 64.060 KB
v0.30 Thu, 15 Jun 2023 04:09:40 UTC Tree 63.694 KB
v0.29 Mon, 29 May 2023 20:19:57 UTC Tree 63.052 KB
v0.28 Sat, 20 May 2023 17:53:14 UTC Tree 62.448 KB
v0.27 Tue, 16 May 2023 02:57:10 UTC Tree 62.088 KB
v0.26 Tue, 16 May 2023 02:53:22 UTC Tree 62.057 KB
v0.25 Sun, 14 May 2023 23:23:27 UTC Tree 60.371 KB
v0.24 Thu, 04 May 2023 23:06:30 UTC Tree 59.825 KB
v0.23 Wed, 26 Apr 2023 06:23:50 UTC Tree 59.668 KB
v0.22 Wed, 26 Apr 2023 00:09:39 UTC Tree 59.648 KB
v0.21 Mon, 13 Mar 2023 19:25:53 UTC Tree 59.631 KB
v0.20 Sun, 27 Feb 2022 21:56:13 UTC Tree 59.588 KB
v0.19 Fri, 18 Feb 2022 01:49:25 UTC Tree 59.406 KB
v0.18 Wed, 02 Feb 2022 12:37:29 UTC Tree 58.965 KB
v0.17 Tue, 25 Jan 2022 19:45:32 UTC Tree 59.065 KB
v0.16 Thu, 20 Jan 2022 11:22:29 UTC Tree 58.896 KB
v0.15 Sat, 25 Dec 2021 04:36:12 UTC Tree 58.657 KB
v0.14 Fri, 22 Oct 2021 04:30:18 UTC Tree 58.661 KB
v0.13 Sun, 17 Oct 2021 01:19:00 UTC Tree 58.528 KB
v0.12 Sun, 26 Sep 2021 00:31:21 UTC Tree 58.369 KB
v0.11 Wed, 15 Sep 2021 04:20:15 UTC Tree 58.085 KB
v0.10 Tue, 24 Aug 2021 23:32:57 UTC Tree 58.082 KB
v0.9 Sat, 14 Aug 2021 23:56:52 UTC Tree 57.087 KB
v0.8 Sat, 14 Aug 2021 21:50:53 UTC Tree 57.151 KB
v0.7 Sat, 14 Aug 2021 21:23:54 UTC Tree 57.129 KB
v0.6 Sat, 14 Aug 2021 21:15:13 UTC Tree 56.909 KB
v0.5 Mon, 09 Aug 2021 05:13:42 UTC Tree 53.069 KB
v0.4 Mon, 09 Aug 2021 04:35:48 UTC Tree 52.418 KB
v0.3 Sun, 08 Aug 2021 02:02:28 UTC Tree 51.728 KB
v0.2 Fri, 06 Aug 2021 10:27:06 UTC Tree 46.944 KB
v0.1 Thu, 05 Aug 2021 07:49:25 UTC Tree 43.333 KB