抄 Achuan-2 大佬在语雀分享的
文档高亮部分汇总,读书笔记用
.action{$keywords := "var(--b3-font-background1)"}
**".action{.title}"**文档内
「粉红背景文字段落汇总」
{{SELECT * FROM blocks WHERE path LIKE '%/.action{.id}.sy' AND markdown LIKE '%.action{keywords}%' AND (type = 'p' AND parent_id not in (SELECT id FROM blocks WHERE path LIKE '%/.action{.id}.sy' AND type = 'i') ) OR (type = 'i' AND id in (SELECT parent_id FROM blocks WHERE path LIKE '%/.action{.id}.sy' AND type ='p' AND markdown LIKE '%.action{keywords}%' )) ORDER BY created LIMIT -1}}
「单独以块引展示包含粉红背景文字的的标题」
.action{block:= (queryBlocks "SELECT * FROM blocks WHERE type= 'h' AND path LIKE '%/?.sy' AND markdown LIKE '%?%' ORDER BY created LIMIT -1 " .id keywords)}
.action{range v:=block}
- ((.action{v.ID} ".action{v.Content}"))
.action{end}
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于