Status bar item with vault statistics including the number of notes, files, attachments, and links.
After the plugin is installed and enabled you will see a new item appear in the status bar showing you the number of notes in your vault.
- Click on the status bar item to cycle through the available statistics.
- Hover over the status bar item to see all of the available statistics.
All statistics can be shown by creating and enabling a CSS snippet with the following content.
/* Show all vault statistics. */
.obsidian-vault-statistics--item {
display: initial !important;
}
Similarly to the above, one can show certain statistics using a similar method to the above. Below is a snippet that hides all by the notes and attachments statistics. The snippet can be modified to include more or different statistics.
/* Hide all statistics. */
.obsidian-vault-statistics--item {
display: none !important;
}
/* Always show the notes and attachments statistics. */
.obsidian-vault-statistics--item-notes,
.obsidian-vault-statistics--item-attachments {
display: initial !important;
}
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added
- Changed
- Deprecated
- Removed
- Fixed
- Comment sections are explicitly processed and do not count toward statistics (#22)
- Fixed
- Fixed issue with deleted and renamed files not correctly updating file statistics (#17)
- Removed errant
debugger
statement (#14)
- Added
- Added Settings pane
- Changed
- Users can now optionally show all or a subset of metrics instead of the default click-to-cycle behaviour (#6)
- Fixed
- Fixed issue when processing files with admonitions (#12)
- Added
- Added word count metric (#8)
- Added
- Initial support for displaying multiple statistics at the same time. (#6)
- Fixed
- FIXED: Reported values only contain 2 significant digits (#7)
- Changed
- Displayed statistics are formatted with grouping for increase readability.
- Added Vault Size statistic which calculates the total size of all files in the vault that are understood by Obsidian The display value is scaled to the appropriate unit. (#5)
- Fixed
- Statistics will be calculated automatically as soon as the plugin loads.