Obsidian Notion-Like Tables
Obsidian Notion-Like Tables allows you to create markdown tables using an interface similar to that found in Notion.so.
What's New?
Version 2.3.6
In 2.3.4 I introduced a bug that made it impossible to edit cells. This persisted until 2.3.5. I apologize for the inconveniece this caused anyone.
Version 2.3.6 (newly updated) includes a lot of bug fixes/refactored code. All in all, the functionality is the same, but you should notice that some UI discrepencies were fixed, including how the edit menu for cells appear.
I also replaced the tabbing system for a custom focus system. Press tab to see how things work now. In addition, when you add a new row, the first cell of that row will focus.
Thank you to imeed166 for his help and suggestions. :)
Version 2.3.0
- Refactored menu into submenus (More like Notion ;)
- Added cell tabbing for accessibility
Usage
Hotkeys
- Add a new NLT markdown table
ctrl + shift + +
(Windows) (Press + once)cmd + shift + +
(Mac)
- Add a new column to a focused table
ctrl + shift + \
(Windows)cmd + shift + \
(Mac)
- Add a new row to a focused table
ctrl + shift + enter
(Windows)cmd + shift + enter
(Mac)
Making a Table via Command
To quickly make a table you can use the add table command. Press cmd + p
on your keyboard search "Add table".
Note: you must be in editing mode for this command to appear.
Toggle to reading mode and the table will automatically render.
Making a Table Manually
A Notion-Like Table uses normal Obsidian table markdown syntax with 2 additional rows:
- A table id row
- A type definition row
Table ID Row
The table id row is a normal markdown row with the first column containing a unique string. This string must be unique for each table in a file (if you use the same id in another file that's fine).
The id is used to map a table to its data in the settings. If you change this id, your table will not be able to find its settings and will create new ones.
If you omit this id, your table will not be rendered as an NLT table.
Type Definition Row
The type definition row is a normal markdown row with each column defining the type of data you want that column to accept. The plugin currently supports 3 column types: text
, number
and tag
.
Editing Cells
To edit a cell, just click on it. A textarea will appear which will allow you to edit the cell's content. Just click outside the box or press enter to save the text. Notion-Like tables will automatically handle updating your markdown ;)
Tags
Tags have a special notion-like menu that will appear. Tags are scoped to each column of a table. You can type text to filter existing tags and select one. Or you can create a new tag by typing text and clicking "Create New" or pressing enter.
Headers
Click on a header name to view the header menu. In the header menu you can rename the header, sort your column values or change the header type.
Links
If you want to render a link in text, just add square brackets [[My Link]]
.
URLs
If you want to display a url, type the url making sure it begins with http://
or https://
. NLT will automatically render it in the table.
Copy Cell Content
Right click a cell and its content will be added to your clipboard.
NOTE: The table must be in focus for this to work. Click on the table to focus it.
Undoing a Type Change
NLTs does not currently have built in history. If you need to undo changes, go to editing mode and undo markdown changes using ctrl+z
(or option-z
on mac). Then go back to reading mode.
Errors
NLT Tables Not Rendering
If your table is missing a table id row or type definition row then it will not be rendered as a Notion-Like Table. Likewise, if you use an invalid column type other than the accepted types text
, number
, or tag
. The table will not be rendered.
Cell Type Errors
A cell type error will occur if you enter data which doesn't match the column data type. Please correct this error in your markdown to continue.
Custom Themes
NLT tables uses normal table semantic elements (table
, th
, tr
, td
, etc) to render. If you wish to edit the display of the table, just style those elements in your CSS.
Bugs/Feature Requests
If you find a bug or would like to suggest a feature, please open an issue here. I will try to respond as soon as possible.
Support Plugin Development
- I have a lot of features that I am excited to add to this plugin. If you would like to help support plugin development, you can buy me an herbal tea ;)
License
- GNU GPLv3
Author
- Trey Wallis
Controlling Cell Width
There appears to be a limit of ~17 characters (at least with my setup) on the extent to which columns can be narrowed. This causes columns with little content to take up an unnecessary amount of space on the page.
Example:
I'm unsure of whether this is a bug, but it would be great if columns could be set to narrower widths.
Go to next cell with keyboard
Is your feature request related to a problem? Please describe. Whenever I want to edit the next cell in the next column, I have to select it with the mouse.
Describe the solution you'd like Create a keyboard shortcut to switch focus to the next cell (for example, enter twice or tab)
Live Preview support?
Soo excited about the progress on this plugin and where it’s headed.
Wanted to ask if live preview/edit support is on the roadmap for a future release?
NLT Deleting Active Links in Table
Describe the bug
NLT is removes links in source, LP, and reading mode
Steps to reproduce
Have a table like this
add a block reference to it as required
reload the app. the NLT tables will work. add a new column, like date:
switch to LP: links are gone. in source too. The only links preserved are links to uncreated notes. Created notes will have their links deleted:
Expected behavior
No data loss.
Are you using the mobile app?
No
Obsidian debug info
SYSTEM INFO: Obsidian version: v0.16.2 Installer version: v0.15.6 Operating system: Windows 10 Education 10.0.22000 Login status: logged in Catalyst license: insider Insider build toggle: on Live preview: on Legacy editor: off Base theme: light Community theme: Minimal Snippets enabled: 24 Restricted mode: off Plugins installed: 95 Plugins enabled: 72 1: Divide & Conquer v0.4.0 2: Contextual Typography v2.2.4 3: Advanced URI v1.24.0 4: Another Quick Switcher v6.3.2 5: AidenLx's Folder Note - folderv component v1.0.0 6: AidenLx's Folder Note v0.16.4 7: Folder Note Core v1.3.5 8: File Explorer Note Count v1.2.0 9: Better Command Palette v0.13.0 10: Obsidian42 - BRAT v0.6.35 11: Code Editor Shortcuts v1.10.0 12: Zotero Integration v2.2.24 13: Core Search Assistant v0.9.1 14: LanguageTool Integration v0.3.0 15: Hotkey Helper v0.3.15 16: Custom Frames v2.4.3 17: Sentence Navigator v1.0.1 18: Reset Font Size v1.0.2 19: Recent Files v1.3.3 20: QuickAdd v0.5.5 21: Plugin Changelogs v1.3.0 22: Periodic Notes v0.0.17 23: Paste image rename v1.5.0 24: Outliner v3.0.0 25: File path to URI v1.4.1 26: Grandfather v1.0.1 27: List Modified v1.1.2 28: Longform v1.1.0 29: Map View v2.1.1 30: MetaEdit v1.7.2 31: Note Auto Creator v1.2.0 32: Obsidian Charts v3.6.3 33: Obsidian Enhancing Export v1.1.4 34: Open with v0.3.1 35: Local File Interface v0.1.0 36: Local images v0.14.2 37: Omnisearch v1.5.2 38: Customizable Menu v2.2.0 39: Various Complements v7.2.2 40: Pane Relief v0.3.4 41: Metadata Menu v0.1.31 42: Advanced Tables v0.17.3 43: Global Hotkeys v0.1.2 44: Supercharged Links v0.8.0 45: Customizable Page Header and Title Bar v4.7.2 46: Word Sprint v0.2.3 47: Wikipedia v1.0.3 48: Waypoint v1.3.0 49: Virtual Hotkey Keyboard v1.1.3 50: Upcoming v0.3.0 51: Tweet to Markdown v2.10.3 52: Templater v1.13.0 53: Table Generator v1.1.1 54: Style Settings v0.4.11 55: Smarter Markdown Hotkeys v1.16.2 56: Dataview v0.5.43 57: DB Folder v2.3.4 58: Dynamic Highlights v0.3.1 59: Dynamic Table of Contents v0.0.27 60: Excalidraw v1.7.19 61: File Info Panel v1.2.5 62: Footnote Shortcut v0.0.9 63: Format Hotkeys v0.1.7 64: Hider v1.2.1 65: Hover Editor v0.11.4 66: Minimal Theme Settings v6.0.2 67: MySnippets v1.2.3 68: Banners v1.3.3 69: Quick Explorer v0.1.41 70: Settings Search v1.2.0 71: Keyboard Analyzer v0.1.1 72: Notion-Like Tables v4.3.1
RECOMMENDATIONS: Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets. Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
Relevant log output
[Bug] The tags and checkboxes aren't persistently saved
Version: 4.0
Obsidian Version: v0.14.15
Platform: macOS Big Sur 11.6.7
To reproduce:
What happens:
The table appears but without any tag and any checkbox selected. 😞
[BUG]For a new table, Chinese cannot be entered when editing the header
Version Information obsidian: v0.14.12 Theme: mini 5.1.7 notion-like-tables:v3.5.0
Specific issues: For a new table, Chinese cannot be entered when editing the header
But when editing the table-body cell, you can enter Chinese
I am using the Windows 10 Microsoft Pinyin input method
Tables with created Note Links are not links; tables with uncreated notes are links
Describe the bug
This table
is produced from this source
Steps to reproduce
Create this source. Have some be notes already created and some not. The last one in this table is an uncreated link
Expected behavior
The already-created links should be clickable as links
Are you using the mobile app?
No
Obsidian debug info
SYSTEM INFO: Obsidian version: v0.15.9 Installer version: v0.15.6 Operating system: Windows 10 Education 10.0.22000 Login status: logged in Catalyst license: insider Insider build toggle: on Live preview: on Legacy editor: off Base theme: light Community theme: Minimal Snippets enabled: 20 Restricted mode: off Plugins installed: 98 Plugins enabled: 73 1: Divide & Conquer v0.4.0 2: Minimal Theme Settings v5.3.2 3: Banners v1.3.3 4: Contextual Typography v2.2.4 5: Advanced URI v1.24.0 6: Another Quick Switcher v5.4.1 7: AidenLx's Folder Note - folderv component v1.0.0 8: AidenLx's Folder Note v0.16.4 9: Folder Note Core v1.3.5 10: Waypoint v1.2.0 11: File Explorer Note Count v1.2.0 12: Better Command Palette v0.13.0 13: Obsidian42 - BRAT v0.6.34 14: Code Editor Shortcuts v1.9.0 15: Breadcrumbs v3.6.0 16: Collapse All v1.5.2 17: Zotero Integration v2.2.19 18: Word Sprint v0.2.3 19: Upcoming v0.1.0 20: Tweet to Markdown v2.10.0 21: Smarter Markdown Hotkeys v1.16.2 22: Core Search Assistant v0.9.1 23: LanguageTool Integration v0.3.0 24: Hover Editor v0.11.4 25: Hotkey Helper v0.3.13 26: Customizable Sidebar v2.2.1 27: Custom Frames v2.4.2 28: Customizable Page Header and Title Bar v4.6.2 29: Templater v1.12.0 30: Supercharged Links v0.8.0 31: Style Settings v0.4.10 32: Settings Search v1.2.0 33: Sentence Navigator v1.0.1 34: Reset Font Size v1.0.2 35: Recent Files v1.3.3 36: QuickAdd v0.5.5 37: Quick Explorer v0.1.38 38: Plugin Changelogs v1.3.0 39: Periodic Notes v0.0.17 40: Paste image rename v1.5.0 41: Outliner v2.3.0 42: Dynamic Table of Contents v0.0.27 43: Dynamic Highlights v0.3.1 44: File Info Panel v1.2.5 45: File path to URI v1.4.0 46: Footnote Shortcut v0.0.9 47: Format Hotkeys v0.1.7 48: Grandfather v1.0.1 49: Hider v1.1.1 50: List Modified v1.1.2 51: Longform v1.1.0 52: Map View v2.1.1 53: MetaEdit v1.7.2 54: Note Auto Creator v1.2.0 55: Obsidian Charts v3.6.2 56: Obsidian Enhancing Export v1.1.1 57: Open with v0.3.1 58: Dataview v0.5.41 59: Excalidraw v1.7.9 60: Local File Interface v0.1.0 61: Local images v0.14.2 62: Omnisearch v1.5.2 63: Customizable Menu v2.2.0 64: MySnippets v1.2.1 65: Various Complements v7.1.1 66: Pane Relief v0.2.7 67: DB Folder v2.0.1 68: Tracker v1.10.9 69: Wikipedia v1.0.3 70: Metadata Menu v0.1.4 71: Advanced Tables v0.17.3 72: Table Generator v1.1.1 73: Global Hotkeys v0.1.2
RECOMMENDATIONS: Custom theme: for cosmetic issues, please first try updating your theme to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets. Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
Relevant log output
No response
[BUG] Code not render normally
Describe the bug The backtick code format doesn't work normally : they are converted to
<code>text</code>
and not render.Bug occurs both in Live preview and reading view
To Reproduce Table example :
Just copy/paste this table in any file.
Expected behavior The normal rendering of the table as without the plugin :
Screenshots

Using Mobile App?
[BUG] Table doesn't keep nlt features, if you edit the source markdown
Describe the bug When you edit the source markdown, the table will not update. Maybe linked to #41 and the mentioned tickets within this ticket.
To Reproduce
Expected behavior If a table gets altered in edit mode, it should keep the nlt features.
Screenshots
Debug Info SYSTEM INFO: Obsidian version: v0.15.3 Installer version: v0.14.15 Operating system: Windows 10 Education 10.0.19043 Login status: logged in Catalyst license: insider Insider build toggle: on Live preview: on Legacy editor: off Base theme: dark Community theme: none Snippets enabled: 0 Safe mode: off Plugins installed: 2 Plugins enabled: 2 1: Advanced Tables 2: Notion-Like Tables
RECOMMENDATIONS: Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
Using Mobile App? No
[Feature Request] Render Markdown and HTML tags
Hello @trey-wallis !!!!
Would be amazing if we could render
**Bold**
*Italic*
==Highlights==
and HTML tags like<u>Underline</u>
in Reading and Live Preview Modes :)This way We could make our tables even more beautiful :)
Thanks for reading this !!!!
Have a great day!!!!!
[BUG]Style report
Describe the bug

info ob-vision: 0.15.6 plugin-vision: Newest theme: shimmering focus, dafault
descirbe I want to achieve like table on obsidian. Could delect the "..." and display all the content?
Using Mobile App? No
Date type not working
Describe the bug
When I select a column as date, it removes anything I already have in it, even dates formatted as YYYY-MM-DD, but then I can not do anything with the columns. I click in each cell and nothing happens, and I can not type or do anything in the cell
Steps to reproduce
When I select a column as date, it removes anything I already have in it, even dates formatted as YYYY-MM-DD, but then I can not do anything with the columns. I click in each cell and nothing happens, and I can not type or do anything in the cell
Expected behavior
I should be able to select or enter a date
Are you using the mobile app?
No
Obsidian debug info
SYSTEM INFO: Obsidian version: v1.0.0 Installer version: v0.15.9 Operating system: Windows 10 Home 10.0.19044 Login status: not logged in Insider build toggle: off Live preview: on Legacy editor: off Base theme: dark Community theme: none Snippets enabled: 0 Restricted mode: off Plugins installed: 8 Plugins enabled: 1 1: Notion-Like Tables v5.0.5
RECOMMENDATIONS: Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
Relevant log output
No response
table setting disappear after uninstall then reinstall NLT plugin or delete the "notion-like-tables\data.json"
Describe the bug
after uninstall then reinstall NLT plugin or delete the ".obsidian\plugins\notion-like-tables\data.json" ,all NLT table settings disappear, such as Cell Types, Column Resizing. It's better to save NLT table settings in each table definition file.
Steps to reproduce
uninstall then reinstall NLT plugin or delete the NLT plugin setting file ".obsidian\plugins\notion-like-tables\data.json"
Expected behavior
NLT table settings is separated from NLT plugin setting file "notion-like-tables\data.json". It's better to save NLT table settings in each table definition file.
Are you using the mobile app?
Yes
Obsidian debug info
none
Relevant log output
No response
content disappear
Describe the bug
Content disappears after viewing other notes
Steps to reproduce
Content disappears after viewing other notes!
Expected behavior
Content don't disappear
Are you using the mobile app?
No
Obsidian debug info
Relevant log output
No response
add option meta "name" (table name)
Problem
like this, in data file, add option meta "name". can modify name in data file or original table.
Solution
null
Additional details
No response
Fix "Table Definition Files" link
Small typo with broken markdown
Number columns sorting by text
Describe the bug
When I add a column and set it to "Number" format, then sort by that column, it doesn't sort numerically. Example:
⬇️Number Number 6990 699 674 1064 <--- should be row 2 in the list
Steps to reproduce
Expected behavior
Should sort the same as Excel or Google Sheets. Larger number values ordered versus smaller number values.
Are you using the mobile app?
No
Obsidian debug info
SYSTEM INFO: Obsidian version: v0.15.9 Installer version: v0.14.15 Operating system: Windows 10 Pro 10.0.22000 Login status: logged in Catalyst license: none Insider build toggle: off Live preview: on Legacy editor: off Base theme: light Community theme: none Snippets enabled: 0 Restricted mode: off Plugins installed: 46 Plugins enabled: 37 1: Advanced Tables v0.17.3 2: Paste URL into selection v1.7.0 3: Dataview v0.5.46 4: Obsidian TODO | Text-based GTD v0.2.7 5: Footnote Shortcut v0.0.9 6: Recent Files v1.3.3 7: Shortcuts extender v2.2.0 8: Tag Wrangler v0.5.3 9: Quick Explorer v0.2.1 10: Macros v0.1.0 11: Day Planner v0.5.8 12: Hotkeys++ v0.2.7 13: Diagrams v1.5.0 14: Omnisearch v1.6.4 15: Templater v1.14.3 16: Copy as HTML v1.0.5 17: Workspaces Plus v0.3.2 18: Maximise Active Pane v0.0.3 19: Quick Switcher++ v2.0.7 20: Auto Link Title v1.2.5 21: Style Settings v0.4.12 22: Collapse All v1.5.3 23: Calendar v1.5.10 24: Commander v0.1.0 25: Tasks v1.15.0 26: Obsidian Raindrop v1.0.3 27: Folder Note v0.7.3 28: Periodic Notes v0.0.17 29: Itinerary v1.3.0 30: Todoist Plugin v1.9.0 31: CardBoard v0.3.3 32: Drag-n-Drop for blocks v1.1.0 33: Copy Block Link v1.0.4 34: Excalidraw v1.7.22 35: Kanban v1.4.5 36: Pandoc Plugin v0.4.1 37: Notion-Like Tables v5.0.5
Relevant log output
No response