Better Tables

by yaye.work
5
4
3
2
1
Score: 44/100

Description

If you are frustrated with making tables in your notes, install this. Summon the interactive table via the Table block. Just drag to resize and reorder, hover to insert, click to edit.

Reviews

No reviews yet.

Stats

6
stars
3,041
downloads
1
forks
75
days
67
days
75
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
3
total issues
1
open issues
2
closed issues
43
commits

Latest Version

2 months ago

Changelog

Remove !important from the table layout resets — the .cp-table-root ancestor selector now outranks theme table styles on specificity alone. Also fixes a leak where markdown rendered inside table cells (added in 0.2.4/0.2.5) attached child components to the plugin instead of the table widget, so they piled up on every edit and never released the ResizeObserver; each table now owns and tears down its own render component.

README file from

Github

Better Tables (Please)

If you are frustrated with making tables in your notes, install this. Summon the interactive table via the Table block. Just drag to resize and reorder, hover to insert, click to edit.

Features

  • Click a cell to select it. Click again to edit. (Or turn on "Quick text edit" to edit with one click.)
  • Move around with the keyboard. Use the arrow keys, or Tab and Enter.
  • Press Enter on a selected cell to start editing it.
  • Drag across cells to select a block. Then copy it, or press Delete to clear it.
  • Drag the lines between rows and columns to resize them.
  • Drag the handles on the top and left edges to reorder rows and columns.
  • Hover between cells and click the dot to insert a row or column.
  • Click the + buttons on the right and bottom to add a row or column.
  • Right-click a cell to align its column left, center, or right.
  • Add a line break inside a cell with Shift+Enter.
  • Delete the whole table with the trash button in the top corner.
  • Wide tables scroll sideways. Your column widths and row heights are saved.

Usage

  1. Add a code block with the word table, like this:
```table
```

Go to the next line, you'd summoned you interactive table.

  1. run the Better Tables: Insert table command from the command palette.

  2. If you have slash commander core plugin installed, you can use /better tables

Your table is saved as a normal Markdown table, so it still works everywhere else. Column widths and row heights are kept in a small hidden comment inside the block (e.g. <!-- tk:cols=140,140;rows=48,48 -->).

Settings

If you like to immediately select & edit text (bypassing having to select the cell first), you can turn on Quick text edit in the setting.

Installation

Add to Obsidian https://community.obsidian.md/plugins/better-tables

Manual

  1. Download main.js, manifest.json, and styles.css from the latest release.
  2. Copy them into <your-vault>/.obsidian/plugins/better-tables/.
  3. Reload Obsidian and enable Better Tables under Settings → Community plugins.

Support

Thank you for using Better Tables! If you run into a bug or have an idea, please open an issue. Feature requests and bug reports are very welcome. And if you find inline notes useful, you can:

It's genuinely appreciated.

Happy noting! Yaye

License

MIT