obsidian-vault-statistics-plugin icon indicating copy to clipboard operation
obsidian-vault-statistics-plugin copied to clipboard

Feature Request: show number of characters (with and without space)

Open mikkovedru opened this issue 3 years ago • 3 comments

Thank you for the plugin.

Currently, it shows the word count. But it would also be nice to show the number of characters (with space counted and with space ignored).

mikkovedru avatar Sep 06 '22 18:09 mikkovedru

Do you have a particular purpose in mind for this information? I'm sure it can be done, but depending on what you intend to do with it there may be some things that should be excluded. For example if you're wanting to know the amount of keystrokes then you'd want to include everything, but if you just want to cover the number of characters in the readable content then you may want to exclude frontmatter and mermaid blocks, etc.

bkyle avatar Oct 23 '22 15:10 bkyle

The more the merrier, of course, with various ways to display, with options, etc.

But personally I would be more than satisfied with a simple size (characters; taking into account that some characters can take more than 1 byte) of the document, with and without spaces.

mikkovedru avatar Oct 24 '22 08:10 mikkovedru

Famous last words: seems simple enough. I’ll look into this for the next update.

bkyle avatar Oct 25 '22 00:10 bkyle