obsidian-table-sorting
obsidian-table-sorting copied to clipboard
This essential plugin will finally allow you to organize your tables non-destructively right within Obsidian. Sorting by multiple columns is supported!
Obsidian Table Sorting Plugin
This essential plugin will finally allow you to organize your tables non-destructively right within Obsidian. Sorting by multiple columns is supported!✨ Features
Whatever sort mode you choose, the markdown sourcecode will not be touched. Instead the sorting all happens visually. Rightly restore the original order by cycling through the modes.Sort by a single column
https://github.com/kraibse/obsidian-table-sorting/assets/33869366/f2d53d9e-267d-483e-9ab5-9edb7687b3c1
Right click to open the context and tool menu.
... or by multiple columns simultaneously
https://github.com/kraibse/obsidian-table-sorting/assets/33869366/28468e05-9ea3-46a5-9ce1-82927031b499
Select multiple columns to set their order when sorting hierarchically.
... and be able to reset them to their original state
https://github.com/kraibse/obsidian-table-sorting/assets/33869366/e46b9a2e-8a22-4906-af33-4048b63a9e92
It's as easy as picking the reset option in the dropdown.
💡 Usage
- From the latest releases download the necessary files
main.ts,styles.cssandmanifest.json - Create a folder in to your vault
VaultFolder/.obsidian/plugins/obsidian-table-sorting/.- (optional) Also refer to the Obsidian plugin installation instructions.
- Move the
main.ts,styles.cssandmanifest.jsonto the directory you just created. - Create a table in your Obsidian note.
- Right-click a column to open the context menu.
- Sorting columns A-Z/Z-A
- De/Selecting files for multi column sorting
- Resetting to the original order
Limitations
- Numeric data must be properly formatted for accurate sorting (WIP)
- Dataview tables are currently not supported (WIP)
- Currently limited to the Live Preview edit mode
- Preview mode is currently in development
- Source edit mode is currently not planned
Contributing
If you encounter any issues or have suggestions for future improvements, please don't hesitate to open an issue on the Github repository. Contributions are also welcome!
License
This project is licensed under the MIT License.