Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Zenith examples

Each .zen here is a runnable, validated document; the .png beside it is its rendered output (committed so you can see the result without running anything). Every example is covered by a determinism test in zenith-cli/tests/render_integration.rs — rendered twice, asserted byte-identical.

Render any of them yourself with:

zenith render examples/<name>.zen --png out.png
zenith validate examples/<name>.zen --json

Shapes

Example Source Output
Rectangle rect.zen rect
Rounded rectangle rounded.zen rounded
Ellipse ellipse.zen ellipse
Line line.zen line
Polygon polygon.zen polygon
Polyline polyline.zen polyline
Star star.zen star
Stroke alignment stroke-align.zen stroke-align

Fills & effects

Example Source Output
Gradients (linear + radial) gradient.zen gradient
Pattern (grid + scatter) pattern.zen pattern
Drop shadow shadow.zen shadow
Blur blur.zen blur
Filter filter.zen filter
Noise / grain (filter) noise.zen noise
Mask mask.zen mask

Text

Example Source Output
Hello (minimal) hello.zen hello
Bold bold.zen bold
Italic italic.zen italic
Rich text (inline spans) richtext.zen richtext
Decorations decorations.zen decorations
Code (syntax highlighting, dark + light) code.zen code
Inline markdown from an external file markdown.zen markdown
Block-level markdown article (headings, paragraphs, per-role styling) article.zen article

Layout & composition

Example Source Output
Group group.zen group
Frame (clipping) frame.zen frame
Anchors (9-point grid) anchors.zen anchors
Relative stacking (anchor-edge) stack.zen stack
Shared styles styled.zen styled
Image asset image.zen image
Multipage (page 1 shown) multipage.zen multipage

Diagrams & data

Example Source Output
Flowchart (shapes + connectors) flowchart.zen flowchart
Connector auto-routing (orthogonal, line-jumps) connector-routing.zen connector-routing
Connector ports (semantic attachment points) connector-ports.zen
Table table.zen table
Charts (bar + donut + sparkline) chart.zen chart