Feishu Lite Blocks

approvedunreviewed

by continue kai

Adds Feishu-style paragraph spacing, soft breaks, and a quick-insert toolbar.

Updated todayMIT

Feishu Lite Blocks

Feishu Lite Blocks brings Feishu-inspired paragraph spacing and a quick-insert toolbar to Obsidian Desktop. It supports Live Preview and Reading view. The plugin interface is in Simplified Chinese.

Usage

  • In Live Preview, press Enter for a new paragraph or Shift+Enter for a compact line break within the paragraph.
  • Hover over a line and click the + button, or type / on an empty line, to open the insert toolbar. Use it to insert headings, lists, tasks, code blocks, callouts, links, tables, and attachments.
  • In the plugin settings, adjust paragraph spacing and line height or turn off either toolbar shortcut.

Attachment access

When you choose 图片 (Images) or 视频或文件 (Video or files), the plugin opens the system file picker. It reads the files you select, including files outside your vault, copies them into your vault’s configured attachment location, and inserts links or embeds in the current note. Attachment import runs locally.

使用方法

  • 在实时预览中,按 Enter 分段,按 Shift+Enter 在段内紧凑换行。阅读视图也会应用段落排版。
  • 将鼠标悬停在正文行上并点击左侧 +,或在空行输入 /,即可插入标题、列表、任务、代码块、标注、链接、表格和附件。
  • 在插件设置中可以调整段落间距和正文行高,也可以分别关闭两个工具栏入口。
  • 选择「图片」或「视频或文件」后,插件只读取你在系统文件选择器中选中的文件(包括库外文件),将副本保存到库设定的附件目录,并在当前笔记插入链接或嵌入。导入在本地完成。

Development

npm ci
npm run build

For manual testing, copy main.js, manifest.json, and styles.css to .obsidian/plugins/feishu-lite-blocks/ in a test vault. Reload Obsidian and enable Feishu Lite Blocks under Settings → Community plugins.

License

MIT.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.