ebox-playground/examples/README.zh-CN.md
Kinneyzhang 1e0568c7f9 feat: move and expand Ebox playground references
Keep the runner generic, evaluate executable property expressions with ETAF-compatible quote semantics, and add the complete Grid reference beside the migrated Basic, Comprehensive, Flex, and Responsive fixtures.
2026-08-05 20:36:35 +08:00

1.0 KiB
Raw Blame History

Ebox Playground 示例

此目录下的 .ebox 文件是通用 ebox-playground 运行器读取的具体布局。它们保持为普通、可读、可被 reader 读取的 Ebox DSL form便于直接复制、编辑和打开。

文件本身就是 data form结构表单保持不加 quotelist 和 symbol 类型的字面量属性值要和 etaf-view 一样加 quote例如 :gap '(1 (16)):justify-content 'center。未加 quote 的属性值会被运行器当作可执行的 Elisp 表达式求值;读取器本身仍然关闭 reader 求值。

public-layout-gallery.eboxM-x ebox-playground-open 使用的默认 fixture。迁移来的低层参考和它并列放在 examples/ 下:basic.eboxcomprehensive.eboxflex-reference.eboxresponsive-reference.eboxgrid-reference.ebox。其中 Grid 参考覆盖轨道模板、隐式轨道、auto-flow、gap、placement、span、item 对齐和 content 对齐。要渲染其他 fixture可以访问该文件后按 C-c C-c,或调用 ebox-playground-open-file