(根据建议编辑)
在评估 load-gui 之后,如何在 Rebol3 中提取所有带有描述的 GUI 样式?
来自@rgchris,一个初步的想法:
REBOL []
load-gui
do http://reb4.me/r3/rsp
style-info: collect [
foreach [name style] body-of guie/styles [
keep form name keep style/about
]
]
styles-list: render-each [name about] style-info {<h1><%== name %></h1>^/<p><%== about %></p>^/}
write %styles-list.html styles-list