wbl10 downloads为 Canvas 卡片添加文字管理按钮:冒号悬挂对齐,换行续行自动挂在冒号右侧。Adds text management buttons for Canvas cards: colon hanging align.
为 Obsidian Canvas 卡片提供文字管理按钮的插件。选中卡片后,卡片上方工具栏会出现插件注入的按钮,用于整理卡片里的文字。
CardKit adds text management buttons to the Canvas card toolbar. Select a card and use the injected buttons to tidy up the text inside.
当前为早期版本,功能会逐步增加。Early stage, more card text tools are planned.
开启后,卡片里冒号(中文 : 或英文 :)后的长文字在卡片内自动换行时,续行会自动缩进到冒号右侧,而不是顶到卡片最左边,让冒号前的标签更突出:
开启前 开启后
效果:一段或很长的 效果:一段或很长的
说明文字顶到最左 说明文字缩进到
边 冒号右侧
Once enabled, wrapped continuation lines of text after a colon stay aligned to the right of the colon. Display-only (your text is never modified), remembered per card, works with headings and lists.
main.js、manifest.json、styles.css 三个文件.obsidian/plugins/card-kit/,把三个文件放进去BRAT: Add a beta plugin for testing,输入 power-ioi/card-kitCardKit runs fully offline. No network requests, no telemetry. The only persisted data is the list of card node IDs with hanging align enabled, stored locally in the plugin data file.