5-- reusable card with hover effect
7 @el [padding 20, background white, rounded 8, border 1 #e5e7eb, hover:border 1 $primary, transition all 0.15s ease, cursor pointer]
11-- page layout function
12@fn page-section $title
14 @text [bold, size 24, color #333] $title
17@column [max-width 800, center-x, padding 40, spacing $gap]
19 @column [width fill, spacing 10]
20 @text [bold, size 32] Welcome to htmlang
22 A minimalist layout language that compiles to
23 {@text [bold, color $primary] static HTML}.
24 @image [width 80, height 80, rounded 40] https://picsum.photos/80
26 -- cards using @fn with hover
27 @page-section [title Features]
28 @row [wrap, spacing 10]
30 Write layouts without CSS
32 Compiles to a single HTML file
34 No JavaScript required
36 -- footer with hover button
38 @el [padding 16, background $primary, hover:background #2563eb, active:background #1d4ed8, rounded 8, transition all 0.15s ease, cursor pointer] > @link https://github.com
39 @text [color white, bold] Get Started
41 @text [color #888] © 2026
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list