update ekp-showcase demo

This commit is contained in:
Kinneyzhang 2026-08-08 09:31:08 +08:00
parent e823d89a4a
commit 888a4019f4

View File

@ -47,17 +47,18 @@
(mixed (concat "中英混排是 Emacs 里最常见的场景: The quick brown fox "
"jumps over the lazy dog, 而 internationalization "
"这样的长词在窄栏会按 Liang 模式断词。自动行内代码 "
(propertize
"(ekp-pixel-justify paragraph-text target-width 'justify nil)"
'face 'ekp-showcase-inline-code)
"(ekp-pixel-justify paragraph-text target-width 'justify nil)"
;; (propertize
;; "(ekp-pixel-justify paragraph-text target-width 'justify nil)"
;; 'face 'ekp-showcase-inline-code)
" 可以在合法空白边界附近换行,但不会插入"
" discretionary hyphen。"))
(atoms (concat "行内原子演示:手动硬原子 "
(propertize "M-x ekp-demo"
'ekp-no-break t
'face '(:inherit fixed-pitch
:background "#3a3f4b"
:foreground "#98c379"))
:background "#3a3f4b"
:foreground "#98c379"))
" 永不拆散、空格保持字面宽度;不间断空格让 100"
(string #x00A0)
"000 与 3.14"