Skip to content

1.5.0-1.9.14 still usable (25Y1002). Merge markdown table cells in Reading and Live Preview/Editing Mode. 在阅读和实时预览/编辑模式合并表格单元格

License

Notifications You must be signed in to change notification settings

playermiller109/obsidian-sheets-basic

Repository files navigation

Sheets Basic

中文介绍见 Obsidian Chinese Forum t35091

  • Use the plugin command “rebuildCurrent” (default hotkey F5) if you encounter any problems.
    • When used in a merged table cell, it will unmerge the cell, and the cell will become a normal cell.
    • When used in a normal table cell, it will refresh the table. Avoid placing your cursor in a signifier cell.
    • When used outside tables, it will refresh the active leaf.
  • Switch to reading mode before exporting a PDF. It is recommended to refresh once before the export.
    • Because Obsidian has a reading mode cache, and no method is provided to precisely clear the cache currently.
    • The same applies before starting a slide presentation.
  • Do not use the up Sign in the first row of the table body; that is, do not merge the table header and body.
Test text, click to unfold
| head1 | <                       |
| ----- | ----------------------- |
|       | ![\|50](_test.png) [^1] |
|       | ^                       |

[^1]: footnote1

> | head2 | <      |
> | ----- | ------ |
> |       | table2 |
> |       | ^      |
> 
> | head3 | <      |
> | ----- | ------ |
> |       | table3 |
> |       | ^      |

> [!quote]
> | head4 | <      |
> | ----- | ------ |
> |       | table4 |
> |       | ^      |
> 
> | head5 | <      |
> | ----- | ------ |
> |       | table5 |
> |       | ^      |

```sheet
| head6 | <      |
| ----- | ------ |
|       | table6 |
|       | ^      |
```

(2025-08-28) Test in Obsidian v 1.9.12 Sandbox Vault. left: Live Preview; right: Reading Mode:

For Developers

不推荐二次开发,因为官方不赞成主要功能参涉私有接口,这样做不划算。

It is not recommended for secondary development because the official does not advocate that the main functions involve private APIs of Obsidian. It’s not cost-effective.

About

1.5.0-1.9.14 still usable (25Y1002). Merge markdown table cells in Reading and Live Preview/Editing Mode. 在阅读和实时预览/编辑模式合并表格单元格

Resources

License

Stars

Watchers

Forks